V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
ghostsf
V2EX  ›  Docker

docker image outdated schema1 manifest format

  •  
  •   ghostsf ·
    ghostsf · 2020-05-27 11:18:54 +08:00 · 3074 次点击
    这是一个创建于 1402 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 镜像命令。

    神奇,更纳闷了。

    求解 = =

    1 条回复    2020-05-29 18:31:16 +08:00
    ghostsf
        1
    ghostsf  
    OP
       2020-05-29 18:31:16 +08:00
    没人遇到过吗 ? = =
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3571 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 04:46 · PVG 12:46 · LAX 21:46 · JFK 00:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.