Open travier opened 1 month ago
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.
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.md