修改docker代理并启动docker
$ vim /usr/lib/systemd/system/docker.service
[Service]
Environment="HTTPS_PROXY=http://ik8s.io"
# HTTPS_PROXY可用地址: https://download.csdn.net/download/baidu_38366464/11208955
Environment="NO_PROXY=127.0.0.0/8,10.10.10.0/24"
$ systemctl daemon-reload
$ systemctl enable docker
$ systemctl start docker
Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐