1.修改配置文件/etc/docker/daemon.json
sudo vim /etc/docker/daemon.json
2.增加或修改以下配置内容
{"registry-mirrors": ["https://dockerproxy.com","https://hub-mirror.c.163.com","https://mirror.baidubce.com","https://ccr.ccs.tencentyun.com"]
}
sudo systemctl daemon-reload
sudo systemctl restart docker
查看镜像地址
cat /etc/docker/daemon.json