You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
The "automagic" docker.io/ prefix is not getting stuffed on the image, however other code paths in k8s are respecting Docker Hub's default prefix pattern.
A quick workaround is to simply run kubectl build -t docker.io/library/test:kube . if that's what you want to name your image, but we should fix this so it's logically consistent with the rest of kubernetes.
dhiltgen
changed the title
image not available in the kind node after the build
Docker Hub default prefix not added to short image names making them unusable to run pods
Mar 30, 2021
What steps did you take and what happened
I'm trying to use buildkit-cli-for-kubectl with kind, but ufortunately the image is not available after the build.
I've used:
The last command fails because the image is not available in the node, so it tries to download it from docker.io.
Also note that I had to force the worker type to
containerd
in order to have the expected mount points.What did you expect to happen
I expected to get my image available in my kind cluster.
kind is not explicitly listed in https://github.com/vmware-tanzu/buildkit-cli-for-kubectl/blob/main/README.md#works-in-numerous-kubernetes-environments, but I think it's used in your tests and it's mentioned in https://github.com/vmware-tanzu/buildkit-cli-for-kubectl/blob/main/docs/installing.md#vmware-fusion so I was quite hopeful it would work :)
Environment Details:
kubectl buildkit version
)kubectl version
)sudo ctr version
or dockerddocker version
on one of your kubernetes worker nodes)Builder Logs
Dockerfile
Vote on this request
This is an invitation to the community to vote on issues. Use the "smiley face" up to the right of this comment to vote.
The text was updated successfully, but these errors were encountered: