当前位置: 首页> 科技> 互联网 > docker 拉取镜像 error pulling image configuration: download failed ****

docker 拉取镜像 error pulling image configuration: download failed ****

时间:2025/8/16 5:10:50来源:https://blog.csdn.net/weixin_58286934/article/details/141331672 浏览次数:2次

问题:

在安装docker后拉取镜像的时候 出现error pulling image configuration: download failed ****异常

原因:

由于镜像源配置的问题引起的镜像拉取异常

解决

由于网络或者其他原因导致拉取镜像请求失败,报错:
error pulling image configuration: download failed after attempts=6: dial tcp 88.191.249.183:443: connect: connection refused
在这里插入图片描述
将 Docker 的默认镜像源换成国内的镜像源。国内镜像源通常响应速度更快,更加稳定。
之前已经配置过国内的镜像源了,只能说明之前配置的镜像源无效,把之前的镜像源删掉,重新配置镜像源
修改镜像源配置文件

vim /etc/docker/daemon.json

网上各种各样的镜像源 眼都看花了
这些源没能把我需要的镜像拉下来

      "https://dockerproxy.com","https://docker.mirrors.ustc.edu.cn","https://docker.nju.edu.cn","https://ox288s4f.mirror.aliyuncs.com","https://mirror.ccs.tencentyun.com","https://docker.mirrors.ustc.edu.cn","https://mirror.baidubce.com"

当前能用的地址:

"https://gallery.ecr.aws",
"https://docker.lmirror.top",
"https://atomhub.openatom.cn"
 		"https://gallery.ecr.aws","https://docker.lmirror.top","https://atomhub.openatom.cn"

在这里插入图片描述

重启docker

systemctl daemon-reload
systemctl restart docker

再次拉取镜像

docker pull portainer/portainer

成功了

关键字:docker 拉取镜像 error pulling image configuration: download failed ****

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: