-
Notifications
You must be signed in to change notification settings - Fork 493
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
Support zstd-compressed docker images #3806
Comments
Thanks @g4-otayyan for cutting this issue. containerd should already have support and this might just be an issue with docker configuration. I'm working on confirming we see the same failure to pull, but in the mean time can you provide some logs that showed it failed to pull? Can you confirm which image you are using (aws-ecs-2, aws-k8s-1.29, etc) and where you are hosting the containers just to make sure we are looking at the same issue? |
I was able to launch a container compressed with
ECS from the host
@g4-otayyan it might be useful to see the logs from the instance since I think it is working right now. |
@yeazelm I am using the latest version of the aws-ecs-2 AMI taken directly from The use case I have is that I need to create a pre-baked AMI with few docker images cached in it, the I was able to achieve this with the following code
The reason I cannot use I checked the version of containerd used in the project and it's EDIT: fixed the reason docker pull cannot be used |
1.6.x does have As for the series of commands, I'm not sure if this approach is expected to work. We typically recommend users launch ECS tasks on an host to get the pulls to complete normally, then snapshot from that. It might still be worth digging into why this seems to not work via your pattern. Do you have logs to show where this fails? |
My apologies, in the latest bottlerocket version these are the logs that result out of calling
|
Perhaps the issue is with the manifest of the multi-arch image and not zstd compression? |
I actually managed to make it work, here's a code snippet if anyone needs this later:
|
Thanks @g4-otayyan for the update! Glad you figured this out. I'll resolve this issue then. |
Would you consider supporting docker images compressed using zstd, docker v25 already supports it but for some reason (I am guessing containerd) they aren't supported on bottlerocket and cannot be pulled.
The text was updated successfully, but these errors were encountered: