无法拉泊坞映像 – 找不到存储库

我无法在我的环境中拖放泊坞窗图像。 我认为它被公司的防火墙阻止,但我不知道为什么它获取图层信息,后来打印找不到存储库。

sudo docker pull hello-world latest: Pulling from hello-world 50a54e1f9180: Pulling fs layer 7a5a2d73abce: Pulling fs layer Pulling repository hello-world Repository not found 

Docker版本:(我无法升级到RHEL 6.9上的最新Docker)

 Docker version 1.7.1, build 786b29d/1.7.1 

有人可以解释我哪些协议(HTTPS只?)在泊坞窗图像拉阶段和什么地址被联系(仅“ https://registry-1.docker.io/v2 ”?

Docker镜像可以由多个层组成。 默认情况下,Docker守护进程将一次拉出三层图像,但在图像层数较less的情况下会减less。 此外,如果未提供标签,则Docker Engine将使用:latest标签作为默认标签。 以上是您的pull请求的基本日志,指示docker尝试拉取图片的层,但是失败,可能是由于防火墙限制或较旧的docker版本。

Docker使用https://协议与registry进行通信,除非允许通过不安全的连接访问registry。

不知道它试图连接的所有地址拉图像。

问题是防火墙在拉取图像时阻塞了连接。 Dockerregistry使用CDN,因此需要允许更多的URL,而不仅仅是registryURL。

我请求在公司防火墙上允许以下URL,并且现在正在工作。

 dseasb33srnrn.cloudfront.net auth.docker.io elb-registry.us-east-1.aws.dckr.io. us-east-1-elbregis-10fucsvj1tcgy-133821800.us-east-1.elb.amazonaws.com registry-1.docker.io registry-origin.docker.io index.docker.io elb-io.us-east-1.aws.dckr.io us-east-1-elbio-rm5bon1qaeo4-623296237.us-east-1.elb.amazonaws.com 

Docker日志文件(/ var / log / docker)帮助我确定根本问题。 有以下错误:

 level=error msg="Error from V2 registry: Get https://dseasb33srnrn.cloudfront.net/registry-v2/docker/registry/v2/blobs/sha256/78/78445dd45222097f5f8d5a16e48dc19c4ca162dcdb80010ab6f1ccfc7e2c0fa3/data?Expires=1493033299&Signature=DiEmffSxF1F9z-SRoGyX3NwzfeQY3BhE2Du3aPb1qy9VglXyn1mus7Xy9Y~DQnwaQ9IIN71FboK5lOAiN1Qj-x662qhioi72CJ-v02fiMHqC03FDb0l4LyULquU8GaalW3uZG4hdfuSqOBQ1qo9HEcxhMyQGqOqpfPUKjUlHqm8_&Key-Pair-Id=APKAJECH5M7VWIS5YZ6Q: read tcp 52.85.173.110:443: connection reset by peer" 

需要被允许的URL列表我在这里find: https : //forums.docker.com/t/list-of-docker-hub-mirror-sites-to-configure-proxy-whitelist/20845/2