Is zstd:chunked layer compression supported?
#12558
Unanswered
polarathene
asked this question in
Q&A
Replies: 2 comments 2 replies
-
|
@polarathene You can use nerdctl to verify zstd:chunked images: https://github.com/containerd/nerdctl/blob/main/docs/stargz.md#tips-3-using-zstd-instead-of-gzip-aka-zstdchunked |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Zstd:chunked images are valid zstd images. So they will be supported by any runtime that supports zstd, the real question is if they actually do something clever to do partial pulls like what podman and cri-o do |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I know that images with
zstdcompressed layers are supported, but I'm not having much luck verifyingzstd:chunkedwith it's optimizations for pulls is available like it is with Podman?One of the big advantages of
zstd:chunkedfor example is:When
large-base-imageis available aszstd:chunkedcompressed layers, if you have already pulled this content then the cost of pulling that squashed image above would only be to pull the/opt/examplefile.zstd:chunkedis doing is referred to as partial pulling. eStargz or similar would be complimentary.I am aware that:
zstd+zstd:chunkeduse the same OCI mediatype, wherezstd:chunkedlayers are backwards-compatible to being treated aszstdlayers.zstd:chunkedin addition togzipbut the documentation onzstd:chunkedis missing (from what I understand they would not be standardzstd:chunkedimages but include additional changes to integrate with eStargz?).Beta Was this translation helpful? Give feedback.
All reactions