toolbx-images / images

Community maintained container images to use with toolbx and distrobox
https://containertoolbx.org/
Apache License 2.0
321 stars 29 forks source link

Push zstd::chunked compressed container images to another tag #128

Open travier opened 1 month ago

travier commented 1 month ago

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:

travier commented 3 weeks 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.

travier commented 3 weeks ago

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.