docker image outdated schema1 manifest format

2020-05-27 11:18:54 +08:00
 ghostsf

Image docker.io/library/xxx uses outdated schema1 manifest format.

Please upgrade to a schema2 image for better future compatibility.

这个问题 是要怎么解决呢 ?

文档这样说:

Update to image manifest version 2, schema 2 One way to upgrade an image from image manifest version 2, schema 1 to schema 2 is to docker pull the image and then docker push the image with a current version of Docker. Doing so will automatically convert the image to use the latest image manifest specification.

Converting an image to image manifest version 2, schema 2 converts the manifest format, but does not update the contents within the image. Images using manifest version 2, schema 1 may contain unpatched vulnerabilities. We recommend looking for an alternative image or rebuilding it.

??? 先 pull 下来再 push 上去?

问题是有这个问题,就 pull 不下来。懵逼。

然后说下环境:

Operating System: CentOS Linux 7 (AltArch) OSType: linux Architecture: aarch64 arm 的 docker 。

PS:

比较奇怪的是,重启 docker 或者 偶然的情况下,又不会出现这个问题,同样的 pull 镜像命令。

神奇,更纳闷了。

求解 = =

3105 次点击
所在节点    Docker
1 条回复
ghostsf
2020-05-29 18:31:16 +08:00
没人遇到过吗 ? = =

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/675897

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX