1.master 上执行push命令:

# docker login -uadmin  http://registry.k8s.com

# docker push registry.k8s.com/infra/nginx:v2.1.1
The push refers to repository [registry.k8s.com/infra/nginx]
1db092a7cab5: Layer already exists 
f4ca0997350d: Layer already exists 
93523b709471: Layer already exists 
488fd4e57ce2: Layer already exists 
e1e4fac4e14a: Layer already exists 
74ddd0ec08fa: Layer already exists 
invalid checksum digest format
 

# docker --version
Docker version 19.03.9, build 9d988398e7

docker日志报错内容:

Apr 26 14:12:12 cephnode01 dockerd: time="2022-04-26T14:12:12.749400357+08:00" level=warning msg="failed to upload schema2 manifest: invalid checksum digest format - falling back to schema1"
Apr 26 14:12:12 cephnode01 dockerd: time="2022-04-26T14:12:12.756850903+08:00" level=info msg="Attempting next endpoint for push after error: invalid checksum digest format"
 

2.其它节点push报错提示:

#docker login -uadmin  http://registry.k8s.com

# docker push registry.k8s.com/infra/nginx:v2.0.0
The push refers to repository [registry.k8s.com/infra/nginx]
f4ca0997350d: Retrying in 1 second 
93523b709471: Retrying in 1 second 
488fd4e57ce2: Retrying in 1 second 
e1e4fac4e14a: Retrying in 1 second 
74ddd0ec08fa: Retrying in 1 second 
received unexpected HTTP status: 200 OK
 

docker日志报错:

dockerd: time="2022-04-26T14:24:14.387702486+08:00" level=error msg="Upload failed, retrying: received unexpected HTTP status: 200 OK"
dockerd: time="2022-04-26T14:24:34.393605170+08:00" level=error msg="Upload failed: received unexpected HTTP status: 200 OK"
dockerd: time="2022-04-26T14:24:34.393798800+08:00" level=error msg="Upload failed: received unexpected HTTP status: 200 OK"
dockerd: time="2022-04-26T14:24:34.394635634+08:00" level=error msg="Upload failed: received unexpected HTTP status: 200 OK"
dockerd: time="2022-04-26T14:24:34.395205797+08:00" level=error msg="Upload failed: received unexpected HTTP status: 200 OK"
dockerd: time="2022-04-26T14:24:34.395249868+08:00" level=info msg="Attempting next endpoint for push after error: received unexpected HTTP status: 200 OK"

应该是docker哪里的问题,一直没找到原因,网上也没有具体案例,求助各位大佬!!!

GitHub 加速计划 / ha / harbor
23.24 K
4.68 K
下载
Harbor 是一个开源的容器镜像仓库,用于存储和管理 Docker 镜像和其他容器镜像。 * 容器镜像仓库、存储和管理 Docker 镜像和其他容器镜像 * 有什么特点:支持多种镜像格式、易于使用、安全性和访问控制
最近提交(Master分支:2 个月前 )
9e55afbb pull image from registry.goharbor.io instead of dockerhub Update testcase to support Docker Image Can Be Pulled With Credential Change gitlab project name when user changed. Update permissions count and permission count total Change webhook_endpoint_ui Signed-off-by: stonezdj <stone.zhang@broadcom.com> Co-authored-by: Wang Yan <wangyan@vmware.com> 14 天前
3dbfd422 Signed-off-by: wang yan <wangyan@vmware.com> 15 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐