-
Notifications
You must be signed in to change notification settings - Fork 32
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
Push zstd::chunked compressed container images to another tag #128
Comments
According to https://fedoraproject.org/wiki/Changes/zstd:chunked, container engine mostly support this format now. But that would require some testing to not break older systems. So the push 2 times route is probably the safest in the short term. It should be reasonably easy to do. |
Apparently it's possible to push both formats using a manifest list: https://discussion.fedoraproject.org/t/switch-fedora-container-images-to-support-zstd-chunked-format-by-default/123712/8 I will give this a try. |
@travier Good work! What's your current status? |
It's stuck on #129 (review). We need to either implement this support in https://github.com/redhat-actions/push-to-registry or switch to using https://github.com/ublue-os/push-to-registry/tree/scaffold-repository in the meanwhile. I would prefer the first option, even if it's from a fork and not merged for now. |
Using a better compression algorithm will mean smaller container images in the registry and faster pulls.
As the spec does not support multiple compression algorithms for a single tag, we should push those images to another tag.
See:
--compression-format=
for podman: https://docs.podman.io/en/latest/markdown/podman-push.1.html--dest-compress
option for skopeo: https://github.com/containers/skopeo/blob/main/docs/skopeo-copy.1.mdThe text was updated successfully, but these errors were encountered: