-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman import failed with Digest did not match error #10854
Comments
Thanks for the report. I am looking into this. |
When importing, first create the image and tag it afterwards. This also makes sure that an imported image *without* a tag is correctly listed as "<none>". Previously, such images were tagged as "docker.io/library/sha256:$ID" (inherited from older Podman code). Context: containers/podman/issues/10854 Signed-off-by: Valentin Rothberg <[email protected]>
Opened containers/common#669 to fix the issue. |
When importing, first create the image and tag it afterwards. This also makes sure that an imported image *without* a tag is correctly listed as "<none>". Previously, such images were tagged as "docker.io/library/sha256:$ID" (inherited from older Podman code). Context: containers/podman/issues/10854 Signed-off-by: Valentin Rothberg <[email protected]>
* libimage: import: fix tags * Don't use systemd defaults if /proc/1/comm != systemd BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1979497 Fixes: containers/issues/10854 Signed-off-by: Valentin Rothberg <[email protected]>
This has been fixed and will be released with Podman v3.2.3 and v3.3.0. |
@vrothberg I tried 3.2.3 but it isn't fix the problem. 3.2.3: Getting image source signatures
Copying blob e3b0c44298fc done
Copying config 4c17b62dd9 done
Writing manifest to image destination
Storing signatures
sha256:ad8d30dbb5cc8c1c93d668cc6688f0301179270a3e19fc58c1c4f77a55604b31 podman images
localhost/kubler-gentoo/stage3-amd64-hardened-nomultilib latest ad8d30dbb5cc 2 minutes ago 1.09 kB 3.1.2: Getting image source signatures
Copying blob ceeec99a2999 done
Copying config e08265be09 done
Writing manifest to image destination
Storing signatures
e08265be09ba19106937104d11f71a3927d1b031584b4ed0522883fcf8232b9d podman images
localhost/kubler-gentoo/stage3-amd64-hardened-nomultilib latest e08265be09ba 4 minutes ago 905 MB It appears to be relative to the size of the archive because if I try a smaller archive, it works perfectly with 3.2.X |
Thanks for checking, @babykart. Would you open a new issue for that? Seems like there's more behind. |
This a BUG REPORT
/kind bug
Description
podman-3.2.{1,2} failed to import an archive.
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
I tried 3.2.X under Gentoo : same error.
3.1.2 works as expected.
The text was updated successfully, but these errors were encountered: