修改docker镜像源 1 vim /etc/docker/daemon.json { "registry-mirrors": ["https//registry.docker-cn.com"] } 2 systemctl daemon-reload 3 systemctl restart docker.service 完成