seaswalker / posts

0 stars 0 forks source link

如何为dockerd设置proxy(用于docker pull) #64

Open seaswalker opened 5 months ago

seaswalker commented 5 months ago

https://www.lfhacks.com/tech/pull-docker-images-behind-proxy/

image

[Service]
Environment="http_proxy=http://172.27.224.1:7890"
Environment="HTTPS_PROXY=http://172.27.224.1:7890"