containerd / nerdctl

contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ...
Apache License 2.0
8.17k stars 609 forks source link

Information: "Unable to fetch missing layers before tagging. If you try to save or push this image, it might fail." #3439

Open apostasie opened 2 months ago

apostasie commented 2 months ago

If you are seeing this message while tagging or committing an image, it means that the local copy of the base image is incomplete, as containerd is only lazily pulling layers.

In that context, we normally fetch the missing layers, but this operation may fail (if you are offline, or the registry for the base image is unreachable).

In that case, the image you just tagged (or committed) will miss layers and you might not be able to push or save it later on.

To workaround that, ensure the registry for the base image is reachable, and tag or commit again.

apostasie commented 2 months ago

See for context: