Created
October 2, 2021 06:46
-
-
Save Daniyal-Javani/b0cd5b15749635f18004fad806b43212 to your computer and use it in GitHub Desktop.
Docker 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
home/daniyal/.docker/config.json | |
{ | |
"proxies": { | |
"default": { | |
"httpProxy": "http://172.17.0.1:8118", | |
"httpsProxy": "http://172.17.0.1:8118" | |
} | |
} | |
} |
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
/etc/systemd/system/docker.service.d/proxy.conf | |
[Service] | |
Environment="HTTPS_PROXY=127.0.0.1:8118" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment