Created
January 15, 2019 06:02
-
-
Save kumbasar/b8168f0d026fc48e4b72920093382be1 to your computer and use it in GitHub Desktop.
docker.service.d proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cat /etc/systemd/system/docker.service.d/http-proxy.conf | |
| [Service] | |
| Environment="HTTP_PROXY=http://127.0.0.1:9400" "HTTPS_PROXY=http://127.0.0.1:9400" "NO_PROXY=localhost,127.0.0.1" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
systemctl daemon-reload
systemctl restart docker