docker报错之拉取镜像失败超时失败

报错:

ERROR: error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/8b/8b1ad728adaaad875794206519b50aa0167e3783e23cb56d9e2df983f99bde36/data?verify=1595390302-O6Q%2FRSpVg917wqYCMMClor2Qhx4%3D: dial tcp 104.18.125.25:443: i/o timeout

出现这个问题原因为国内网络问题,无法连接到 docker hub。 好在国内已经有 daocloud,docker指定该源即可。

centos7处理办法,其他系统版本处理方法类似,添加后重启docker :
在这里插入图片描述

–registry-mirror=http://f2d6cb40.m.daocloud.io

添加后重新拉取镜像便成功了!

猜你喜欢

转载自blog.csdn.net/weixin_43279032/article/details/107508661