Docker proxy configuration for fuel-createmirror

Add instructions on how to add proxy configuration to Docker
in case of usage of fuel-createmirror behind a proxy.

Change-Id: I17a7fea8e401139ba449d3d5c0d2bbd436a5bdb6
This commit is contained in:
Fabrizio Soppelsa
2015-10-14 21:49:48 +03:00
committed by Evgeny Konstantinov
parent 62b8c13c72
commit 88ffb5cc7e

View File

@@ -84,6 +84,25 @@ configuration file (see below):
http_proxy=http://username:password@host:port/
RSYNC_PROXY=username:password@host:port
You may also want to configure Docker to use the proxy to
download the Ubuntu image needed to resolve the packages
dependencies. Add the above environment variables to the
file `/etc/sysconfig/docker`, and export them:
::
http_proxy=http://username:password@host:port/
RSYNC_PROXY=username:password@host:port
export http_proxy RYSNC_PROXY
Then, restart the docker daemon:
::
service docker restart
Or alternatively (recommended), reboot the Fuel Master node.
Issue the following command to get the *fuel-createmirror* help:
::