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
ghostsf OP 没人遇到过吗 ? = =
|