Apparently everyone just copied those variables, instead of creating a library constant for them. Some even removed the comment. -.-
* authorization token is optional * registry url is taken from X-Docker-Endpoints header * pull.sh correctly resumes partial layer downloads * detjson.py does not fail on missing keys