-
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 load
gets wrong image name
#11619
Comments
@vrothberg PTAL |
This comment has been minimized.
This comment has been minimized.
buildkit produces hybrid tarballs (see #10809). I am not sure how (or if!) Podman should support that. |
@mtrmac PTAL |
Not supporting buildkit images doesn't seem like a good idea, more and more |
#10809 (comment) suggests two reasonably easy ways to support this (and one hard way to support this in an excellent manner). Around #10809 (comment), we just concluded that this is a bug in the archive producer and closed that report. Was the behavior ever reported to them? I can’t find any report. |
Not to my knowledge. |
Make sure to try loading the docker-archive first to account for the "hybrid tarballs" created by buildkit. docker-archive gets the name right while oci-archive will not. Fixes: github.com/containers/podman/pull/11619 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I'm generating an image using BuildKit. When loaded with
docker load
, the image name is correct. When loaded withpodman load
, the image name islocalhost/latest
.Steps to reproduce the issue:
Given this Dockerfile:
Describe the results you received:
When using
podman load
:The image name is wrong.
Describe the results you expected:
When using
docker load
:The image name is correct.
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)
I'm using the latest released version. Didn't see anything relevant on toubleshooting guide.
Additional environment details (AWS, VirtualBox, physical, etc.):
Fedora 33. Using BuildKit 0.9.0 binary download from https://github.com/moby/buildkit.
The text was updated successfully, but these errors were encountered: