I'm creating a docker image from another image using the most simple docker file:
FROM <source image>
The image builds and tags successfully. However when I push it to an Azure Container Registry and pull the image I get the following error:
Failed to pull image "<tagged image name>": rpc error: code = Unknown desc = failed to pull and unpack image "<tagged image name>": failed to extract layer sha256:<layer id>: link /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/2700/fs/Files/Program Files/common files/Microsoft Shared/Ink/en-US/micaut.dll.mui /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/2700/fs/Files/Program Files (x86)/common files/Microsoft Shared/ink/en-US/micaut.dll.mui: no such file or directory: unknown
The original image from the same registry pulls and runs successfully.
Any idea what I'm doing wrong?
Azure Container Registry is a private registry. Hence, make sure you login to the registry before pulling the image. Refer the link to know ways to authenticate https://learn.microsoft.com/en-us/azure/container-registry/container-registry-authentication?tabs=azure-cli