成都网站建设设计

将想法与焦点和您一起共享

dockerHTTP代理

修改docker代理并启动docker

$ vim /usr/lib/systemd/system/docker.service
[Service]
Environment="HTTPS_PROXY=http://vps.sarehart.com:28888"
Environment="NO_PROXY=127.0.0.0/8,10.10.10.0/24"
$ systemctl daemon-reload
$ systemctl enable docker
$ systemctl start docker

网页题目:dockerHTTP代理
分享网址:http://chengdu.cdxwcx.cn/article/jjpsdh.html