-
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 save oci-dir produces non-OCI layout #6544
Comments
@mtrmac PTAL |
That’s a long-standing typo (maintained through two different refactorings ): https://github.com/containers/libpod/blob/fbe09d78e91c9ac5cadc8b00a67c7d7f89d64868/libpod/image/image.go#L1478 is not creating an OCI format at all; it should be using |
@mtrmac I got a fix for this. but when I try to load the image, I am getting
Is Podman doing something wrong? |
Depends, let’s concentrate the discussion in the PR. See #6562 (comment) . |
- fix saving&loading oci format. Close containers#6544 - support loading using image name without "localhost/" prefix when reading from ociarchive/dir saved from this semantics Signed-off-by: Daniel J Walsh <[email protected]> Signed-off-by: Qi Wang <[email protected]>
BUG REPORT INFORMATION
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
podman save --format oci-dir -o existing_dir
does not produce a OCI layout of the blobs in theexisting_dir
directory. I am not sure if this is by design, in which case, it would be nice to name this option differently.Steps to reproduce the issue:
Describe the results you received:
The layout of the results look like this:
Describe the results you expected:
I would expect the layout to be the same as when you do:
Like:
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
VMware Fusion VM
The text was updated successfully, but these errors were encountered: