Configure the Docker proxy
If you are located behind a proxy server, you may need to configure the Docker proxy settings directly, because Docker does not always automatically inherit your system proxy settings. You'll need to:
Consult your network admin to determine the correct proxy settings for your work environment.
You can quickly confirm that Docker has a properly configured set of proxy environment variables by typing
at a command prompt. Near the end of the info page you will see the proxy variables that Docker is using. If you do not see your proxy settings in that info screen, you may need to restart the Docker daemon or manually configure the Docker proxies on the
tab of the Docker Settings.
A Docker daemon that has a set of non-empty proxy variables configured will show output like the following when executing a "
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 17
System Time: 2017-10-26T21:24:45.709072Z
Http Proxy: http://proxy.example.com:3128
Https Proxy: http://proxy.example.com:3128
No Proxy: localhost,127.0.0.1/8,::1
Live Restore Enabled: false