docker push失败:清单无效

问题描述 投票:0回答:1

[尝试对私有Docker映像注册表进行docker push <IMAGE>时,出现错误,提示清单无效

连同错误,它给出了一些[DEPRECATION NOTICE],这也可能是失败的原因。

注意:收到此错误并使docker push命令失败后。 (在ci/cd中,它失败了,我猜它在抛出exit 1),当我在注册表中重新查看时,该图像存在。

在同一个docker注册表中,还存在其他图像。他们也正在通过相同的CI / CD管道。但是对于他们来说,没有发现任何问题。问题有可能是由Dockerfile引起的吗? (尽管以前曾经使用相同的Dockerfile,但它以前工作过]

我已经仔细检查过,我要推送的图像version(例如:<IMAGE_NAME>:0.0.1-5e90df92ed140-development)不在注册表中。

我也提到了多个与此相关的问题,并划过了

  • 用户有权推和拉图像
  • 具有与fsLayers相同的history编号的清单

注意:我们正在使用JFrog 6.12.2的Artifactory版本

Docker版本(在我的本地计算机上,它也会失败,并显示相同的消息):

Client: Docker Engine - Community
 Version:           19.03.4
 API version:       1.40
 Go version:        go1.12.10
 Git commit:        9013bf5
 Built:             Thu Oct 17 23:44:48 2019
 OS/Arch:           darwin/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.4
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.10
  Git commit:       9013bf5
  Built:            Thu Oct 17 23:50:38 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.2.10
  GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
 runc:
  Version:          1.0.0-rc8+dev
  GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

错误:

596280599f68: Layer already exists
5d6cbe0dbcf9: Pushed 
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the xxxxxxx.docker.repositories.xxxxxx.com registry NOW to avoid future disruption. More information at https://docs.docker.com/registry/spec/deprecated-schema-v1/
manifest invalid: manifest invalid
docker dockerfile docker-registry
1个回答
0
投票
通过Artifactory的系统日志找出来。
© www.soinside.com 2019 - 2024. All rights reserved.