Browse code

Add documentation for HTTP proxies

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>

Arnaud Porterie authored on 2015/01/20 04:23:31
Showing 1 changed files
... ...
@@ -170,6 +170,14 @@ string is equivalent to setting the `--tlsverify` flag. The following are equiva
170 170
     $ export DOCKER_TLS_VERIFY=1
171 171
     $ sudo docker ps
172 172
 
173
+The Docker client will honor the `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY`
174
+environment variables (or the lowercase versions thereof). `HTTPS_PROXY` takes
175
+precedence over `HTTP_PROXY`. If you happen to have a proxy configured with the
176
+`HTTP_PROXY` or `HTTPS_PROXY` environment variables but still want to
177
+communicate with the Docker daemon over its default `unix` domain socket,
178
+setting the `NO_PROXY` environment variable to the path of the socket
179
+(`/var/run/docker.sock`) is required.
180
+
173 181
 ### Daemon storage-driver option
174 182
 
175 183
 The Docker daemon has support for several different image layer storage drivers: `aufs`,