gpt4 book ai didi

docker - RPC 错误 : code = Unknown desc = error pulling image configuration: unknown blob when pull docker image

转载 作者:行者123 更新时间:2023-12-02 19:15:46 30 4
gpt4 key购买 nike

我正在通过 kubernetes 集群中的 nexus 3 从本地 docker 注册表提供程序中提取图像,但抛出此错误:

Failed to pull image "192.168.31.2:8080/goharbor/harbor-portal:v2.0.1": rpc error: code = Unknown desc = error pulling image configuration: unknown blob
当我在 k8sslave3 主机中使用 docker 执行此命令时:
[root@k8sslave3 ~]# sudo docker pull 192.168.31.2:8080/goharbor/harbor-portal:v2.0.1
v2.0.1: Pulling from goharbor/harbor-portal
a10779388d4e: Pulling fs layer
b3655b0b1b25: Pulling fs layer
0c2039460571: Pulling fs layer
7ea51f62bc90: Waiting
9b7d884050ac: Waiting
191f5a91ea62: Waiting
a0935490d8f5: Waiting
dd7dc6b4b30d: Waiting
502017fcbb22: Waiting
error pulling image configuration: unknown blob
我读了 the question并告诉我 docker 镜像不存在。但是当我执行 pull in 192.168.31.2 时,输出如下:
[dolphin@localhost docker]$ sudo docker pull 192.168.31.2:8080/goharbor/harbor-portal:v2.0.1
[sudo] password for dolphin:
v2.0.1: Pulling from goharbor/harbor-portal
Digest: sha256:d40f87352700cde0f91b9f758b3e47c9ebfe4358f73fa26a6675415b3fbc6b96
Status: Image is up to date for 192.168.31.2:8080/goharbor/harbor-portal:v2.0.1
192.168.31.2:8080/goharbor/harbor-portal:v2.0.1
所以现在我很困惑,我应该怎么做才能解决这个问题?这是 nexus 存储库中的 docker 镜像:
enter image description here

最佳答案

I am read the question and tell me the docker image does not exists.But when I execute pull in 192.168.31.2, the output like this:


[dolphin@localhost docker]$ sudo docker pull 192.168.31.2:8080/goharbor/harbor-portal:v2.0.1
[sudo] 海豚密码:
v2.0.1:从 goharbor/harbor-portal 拉取
摘要:sha256:d40f87352700cde0f91b9f758b3e47c9ebfe4358f73fa26a6675415b3fbc6b96
状态:图像是最新的 192.168.31.2:8080/goharbor/harbor-portal:v2.0.1
192.168.31.2:8080/goharbor/harbor-portal:v2.0.1

如果您从托管注册表的主机中提取镜像,则可以预期它会起作用。
当您从该主机创建标签时,Docker 客户端不需要从私有(private)注册表中提取任何内容,它会直接从主机的本地 Docker 注册表返回镜像。
看消息:

Status: Image is up to date for192.168.31.2:8080/goharbor/harbor-portal:v2.0.1


您的图像配置/数据很可能在注册表中已损坏。
尝试重新上传它并检查它的大小是否太大(有时几个 GB 可能太多),因为它可能会在注册表上传/存储时造成一些麻烦。

关于docker - RPC 错误 : code = Unknown desc = error pulling image configuration: unknown blob when pull docker image,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63545285/

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