Replies: 2 comments 6 replies
-
Thanks for reaching out, @tarun360. It's hard to point the finger without knowing more about what the script does. @mtrmac have you seen such a symptom before? |
Beta Was this translation helpful? Give feedback.
-
for public images dir Public image directories face permission issues because Podman defaults to setting file permissions to 600 when running containers. This causes rootless users to be unable to access public images. To resolve this, we must execute but root user works fine even chmod public image dir thanks in advantage |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I had a image stored in a NFS partition. I had a script which used to pull this image to
containers-storage
and push it to a remote registry, This used to work fine until today when I started getting the below error during push operation.I was able to get around this error by removing the previous occurrence of this image in
containers-storage
(usingpodman rmi localhost/image-name
), and then running the script again.Possible explanation I could think of is: Podman skipped pulling layers already present in
containers-storage
. The image layers present incontainers-storage
got corrupted somehow. While trying to push the image to remote registry podman re-calculated digests of image layers and they didn't match the digest present in manifest, which gave the above error. Removing the image fromcontainers-storage
got rid of corrupted image layers which solved the problem.Does this reasoning sound plausible? and how could one deal with such cases in future.
Beta Was this translation helpful? Give feedback.
All reactions