部署proxy
略...
新增docker proxy 配置
vim /etc/systemd/system/docker.service.d/proxy.conf
[Service]Environment="HTTP_PROXY=socks5://127.0.0.1:1080/"Environment="HTTPS_PROXY=socks5://127.0.0.1:1080/"Environment="NO_PROXY=localhost,127.0.0.1,.example.com"
reload 配置并重启
systemctl daemon-reload && systemctl restart docker
Other
docker 配置insure
vim /etc/docker/daemon.json
{"live-restore": true,"registry-mirrors": ["https://n17oulqh.mirror.aliyuncs.com"],"insecure-registries": ["0.0.0.0/0"]}
