如果上篇文章依旧解决不了docker pull问题就去登陆daocloud

  拉取镜像 pull

#docker pull xxx

如果报下面这个错,一般是源被墙掉了的原因。

[root@controller ~]# docker pull python或者其他

Using default tag: latest

latest: Pulling from library/python

9f0706ba7422: Retrying in 1 second

d3942a742d22: Retrying in 5 seconds

62b1123c88f6: Retrying in 1 second

2dac6294ef18: Waiting

a7bb658fb099: Waiting

a811de274338: Waiting

771f11f32dc9: Waiting

a16d4d6b543c: Waiting

error pulling image configuration: Gethttps://dseasb33srnrn.cloudfront.net/registry-v2/docker/registry/v2/blobs/sha256/f9/f9a9a73a36808dc906fa7b38f517e16937a0943046f59fc23d8b77fd6400a369/data?Expires=1498710588&Signature=Jq2hHPTclzz6LRQ-YDM-ckVKpTn1mkyy-Gw5tmOBcyXc4aEpLWunr3oIdc96AYmtpBhhBlssHzRyYAEkXp1qRLqGqC3tVA7M-rWwquDo8FjiyKfyXEwpptUzr23ENVKzvJc1BwnwndQrVJYy5px3krfQe41zYC-DAV6tvnDi5Rs_&Key-Pair-Id=APKAJECH5M7VWIS5YZ6Q:dial tcp: lookup dseasb33srnrn.cloudfront.net on 114.114.114.114:53: read udp xxx:52714->114.114.114.114:53: i/o timeout

  

解决办法:换源/或者使用工具。

我的解决方法:

1)     注册DaoCloud

2)     在你的Linux主机上执行#docker login daocloud.io

3)     输入daocloud用户名密码,显示登录成功

4)     在daocloud网页上查询镜像,选择之后,点击”拉取”

5)     在弹出的窗口里复制拉取镜像字符串

6)     在你的主机上继续执行#docker pull daocloud.io/library/python:2.7.7

2.7.7: Pulling from library/python

a3ed95caeb02: Pull complete

a3adb83f5e79: Pull complete

b2f31ed69e64: Pull complete

871cd50ff22e: Pull complete

2d820baa19d8: Pull complete

c6c2e05d1a63: Pull complete

be40e8c8d99e: Pull complete

974354b566a4: Pull complete

1489cccb6606: Pull complete

504af06a9b10: Pull complete

Digest:sha256:2034bc78a67657ee8f1a0838c879f7d98d3db675d6420069312678b9d11be2cc

Status: Downloaded newer image for daocloud.io/library/python:2.7.7

7)     拉取成功

猜你喜欢

转载自blog.csdn.net/wuhaotian1996/article/details/80436265
今日推荐