centos7修改docker镜像源的方法
首先编辑配置文件
vim /etc/docker/daemon.json
{ "registry-mirrors": ["https//registry.docker-cn.com"] }
保存退出,然后重新加载配置,并重启服务
systemctl daemon-reload systemctl restart docker.service
检查配置后的结果
docker info

附dockers镜像地址
Docker中国区官方镜像 https://registry.docker-cn.com
中国科技大学 https://docker.mirrors.ustc.edu.cn