版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weixin_43551152/article/details/86018842
vim /etc/docker/daemon.json -p
写入
{
"registry-mirrors": ["https://registry.docker-cn.com"]
}
systemctl daemon-reload
systemctl restart docker
上述地址为docker官方提供,也可加上阿里云提供的镜像加速地址