Docker代理配置
作者:互联网
编辑 /usr/lib/systemd/system/docker.service 文件
新增
Environment="HTTPS_PROXY=192.168.2.53:1080,HTTP_PROXY=192.168.2.53:1080"
重新启动
systemctl daemon-reload && systemctl restart docker
检查
docker info | grep Proxy Https Proxy: 192.168.2.53:1080,HTTP_PROXY=192.168.2.53:1080
标签:2.53,HTTP,1080,配置,代理,192.168,PROXY,Docker,docker 来源: https://blog.51cto.com/11889458/2370363