Docker proxy settings Centos7


If your trying out docker on Centos/Rhel7 and are behind a proxy and cant access the images repo.

Just add the http_proxy environment settings to /etc/sysconfig/docker.

http_proxy=http://yourproxy.com
https_proxy=http://yourproxy.com
HTTP_PROXY=http://yourproxy.com
HTTPS_PROXY=http://yourproxy.com
Advertisements