gpt4 book ai didi

image - Docker - 从 docker repo 拉取失败 (EOF/403) 但从 RH repo 下载有效

转载 作者:行者123 更新时间:2023-12-04 20:38:16 25 4
gpt4 key购买 nike

系统信息 :
RHEL 7.1(全新安装)
docker 1.6.2
我们在他们的“奖励”dvd 中使用了 RH 提供的 Docker rpm。

问题 :
当我通过 docker 拉取图像时,它 只有当它在 Red Hat 存储库上时有效。

# docker pull openshift3/mysql-55-rhel7
Trying to pull repository registry.access.redhat.com/openshift3/mysql-55-rhel7
...
bb8bf2124de9: Download complete
65de4a13fc7c: Download complete
85400654aa47: Download complete
c537da9944e0: Download complete
6d97b1e161bb: Download complete
0d0dc8d923d6: Download complete
e4ba106b746b: Download complete
Status: Downloaded newer image for registry.access.redhat.com/openshift3/mysql-55-rhel7:latest

当我从 Docker 存储库中提取图像时……它失败了。但是 - 恕我直言真的很奇怪 - 有不同的错误。

所以首先我拉 httpd
# docker pull httpd
Trying to pull repository registry.access.redhat.com/httpd ... not found latest: Pulling from docker.io/httpd
64e5325c0d9d: Pulling fs layer
bf84c1d84a8f: Download complete
6c1a7f5286ab: Download complete

ee4d515e8896: Download complete
de94ed779434: Download complete
de94ed779434: **Error pulling image (latest) from docker.io/httpd, ApplyLayer exit status 1 stdout: stderr: unexpected EOF**
FATA[0040] Error pulling image (latest) from docker.io/httpd, ApplyLayer exit status 1 stdout: stderr: unexpected EOF

但是,拉 Hello World
# docker pull hello-world
Trying to pull repository registry.access.redhat.com/hello-world ... not found
latest: Pulling from docker.io/hello-world
a8219747be10: Pulling fs layer
a8219747be10: Error pulling dependent layers
91c95931e552: Error pulling image (latest) from docker.io/hello-world, Server error: Status 403 while fetching image layer (a821974FATA[0010] Error pulling image (latest) from docker.io/hello-world, Server error: Status 403 while fetching image layer (a8219747be10611d65b7c693f48e7222c0bf54b5df8467d3f99003611afa1fd8)

我在公司网络上并应用了 this blog 中的内容关于让它运行的代理和证书。

最佳答案

service docker stop

rm -r /var/lib/docker/*

service docker start

为我工作。请注意,这很可能会清除 docker

关于image - Docker - 从 docker repo 拉取失败 (EOF/403) 但从 RH repo 下载有效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31318334/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com