由于之前配置docker的buildx特性,修改了docker的daemon.json文件,误删除了镜像仓库地址,导致拉不到镜像
重新编辑/etc/docker/daemon.json文件,添加如下内容
{
"registry-mirrors": [
"https://rnv4c7zq.mirror.aliyuncs.com",
"http://hub-mirror.c.163.com",
"https://docker.mirrors.ustc.edu.cn"
]
}
重启docker
systemctl daemon-reload
systemctl restart docker
重新拉取
附:安装docker推荐博文:https://www.cnblogs.com/lfg-blog/p/18173462
标签:pull,daemon,mirrors,https,镜像,docker,com From: https://www.cnblogs.com/xfans520/p/18235501