-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Unable to load docker desktop containerd managed images to cluster #3795
Comments
That error message is coming from ctr when we ask it to import the image saved from docker. Unfortunately I can't run docker desktop at work, will have to find another way to reproduce this. Can you look at the same image exported the way kind does with docker save,
or provide a tarball from that somewhere? That would speed things up (can replicate the rest with kind load image-archive) this sounds like a containerd/docker bug but we need to confirm how before contacting them. The part kind is doing could be bugged but is pretty straightforward once we decide we need to load the image because it's not already available |
kind
cluster
Could be a small sample image like busybox if you can confirm the bug still applies to that image and share the containerd vs dockerd mode versions that would speed things up. Otherwise it may be difficult to reproduce due to the licensing of the application and/or my employer's policies, I'll have to see if this is something I can replicate in some other way. |
I'm hitting what seems to be the same issue in kuttl's integration tests. Kuttl embeds kind, currently v0.25.0. Interestingly this works on CI (GHA, ubuntu 20.04 runner) but on my desktop this fails with the same message as for @iamvinov-atlassian What I've been able to figure out using
So it seems like from the PoV of I'm running:
|
@BenTheElder you might be able to reproduce this with:
Unfortunately the actual error is hidden as |
What happened:
I am attempting to load Docker images into
kind
cluster:kind load docker-image busybox -n nebulae
but getting the following error:❯ kind load docker-image busybox -n nebulae Image: "busybox" with ID "sha256:5b0f33c83a97f5f7d12698df6732098b0cdb860d377f6307b68efe2c6821296f" not yet present on node "nebulae-control-plane", loading... ERROR: failed to load image: command "docker exec --privileged -i nebulae-control-plane ctr --namespace=k8s.io images import --all-platforms --digests --snapshotter=overlayfs -" failed with error: exit status 1 Command Output: ctr: content digest sha256:83e82a8dd385e27d95f2118c1332d414684aa665552f7f837f86da33674308c4: not found
What you expected to happen:
I expected the image to load successfully. I already have this image pulled locally using
docker pull busybox
. Upon further investigation, it seems to me thatkind
or (containerd
) expects the image for all platforms to be present on the host for theload
command to succeed.How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
From looking at other answers on the internet, it seems generally this error occurs when the image arch doesn't match the host arch. But this is not the case. I did perform
docker images --tree
and made sure the images match my host (M3 MacBook Pro) OS.Environment:
kind v0.25.0 go1.23.3 darwin/arm64
docker info
,podman info
ornerdctl info
):MacOS Sonoma v14.7
kubectl version
):The text was updated successfully, but these errors were encountered: