-
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
always compresses layers in OCI-formatted archives
#11613
Comments
@vrothberg PTAL |
A type without |
@mtrmac PTAL |
c/image allows that as |
Now that zstd is merged into the Moby Project, we should probably support this as well. |
Add an option to allow for accepting uncompressed layers when copying OCI images. Context: github.com/containers/podman/issues/11613 Signed-off-by: Valentin Rothberg <[email protected]>
Add an option to allow for accepting uncompressed layers when copying OCI images. Context: github.com/containers/podman/issues/11613 Signed-off-by: Valentin Rothberg <[email protected]>
Add an option to allow for accepting uncompressed layers when copying OCI images. Context: github.com/containers/podman/issues/11613 Signed-off-by: Valentin Rothberg <[email protected]>
Add an option to `podman save` to allow uncompressed layers when copying OCI images. Do the neccessary plumbing for the remote client, add tests and vendor in the latest commit from c/common to fetch the neccessary changes in libimage. Closes: containers#11613 Signed-off-by: Valentin Rothberg <[email protected]>
I see a new |
No, that would have changed the default behavior and potentially broke existing users who desire to have compressed layers. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Probably.
Description
Layers in archives produced by
podman save --format docker-archive
(default) are saved as uncompressed tarballs. Archives produced bypodman save --format oci-archive
have the layersgzip
-compressed. As documented inman podman-save
, the--compress
flag is not applicable for archives, only dirs.Steps to reproduce the issue:
Describe the results you received:
OCI archives are smaller. But further compression applied over the whole archive (
podman save --format oci-archive hello-world | xz
) is not as efficient.Describe the results you expected:
I would expect there to be a way to produce uncompressed OCI archives.
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.
The text was updated successfully, but these errors were encountered: