User Tools

Site Tools


This is an old revision of the document!

Docker uses the HTTP_PROXY environment variable if present, for example:

HTTP_PROXY= docker pull busybox

But instead, I suggest you have a look at your /etc/default/docker configuration file : you should have a line to uncomment (and maybe adjust) to get your proxy settings applied automatically.

# If you need Docker to use an HTTP proxy, it can also be specified here.
#export http_proxy=""

Then restart the Docker server:

service docker restart
dockerproxy.1438100217.txt.gz · Last modified: 2015/07/28 12:16 by moliver