无法pull,如何解决呢?

尝试了很多次,都无法pull

docker pull bestwu/wechat
Using default tag: latest
latest: Pulling from bestwu/wechat
f21eee950c89: Retrying in 1 second 
11ce96be0dbe: Retrying in 1 second 
213b37605fda: Retrying in 1 second 
fb5f4607d644: Waiting 
996bef3d98a0: Waiting 
6181aef875e7: Waiting 
892cf94c8e7a: Waiting 
error pulling image configuration: download failed after attempts=6: dial tcp 104.18.125.25:443: i/o timeout

是网站连接block了吗?如何解决?

阅读 3.3k
1 个回答

docker hub好像是被墙了,所以我猜这应该是timeout的原因,可以使用配置镜像来解决,可用的镜像比如:

科大镜像:https://docker.mirrors.ustc.edu.cn/
网易:https://hub-mirror.c.163.com/
阿里云:https://<你的ID>.mirror.aliyuncs.com 登录阿里云后去镜像中心,镜像加速器中查看
七牛云加速器:https://reg-mirror.qiniu.com

设置镜像的方法请参考: https://www.runoob.com/docker/docker-mirror-acceleration.html,希望能帮上你。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进