On CentOS (in my case 6.5), simple edit the file docker-network in /etc/sysconfig and add the lines:
export HTTP_PROXY=http://proxy.mynetwork.net:80/ export HTTPS_PROXY=http://proxy.mynetwork.net:80/
Then restart the docker service with service docker restart and you should be able to pull down images!
To go along with that, you should be able to include username/password for proxies as you normally would, "http://<user>:<password>@<host>:<port>"
No comments:
Post a Comment