-
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 image using Podman #2027
Comments
The docker command is docker specific and supposed to be replaced with a generic command but it's unimplemented. The docker-image command will always read from docker and changing that would be breaking behavior for those with both installed. You can use The podman driver is still considered experimental and unstable, we're still constantly patching over podman incompatibility. EDIT: the provider is a node provider only, it provides nothing else and shouldn't. In the future we will be able to cross load from both. |
Many thanks! I'll give the manual podman step a try and fallback to using docker otherwise. I'm happy to close this since podman driver is still quite new if you wish. |
I think we don't actually have a tracking issue for the command, but let me file a new one for that and link back here and tag it for v0.11.0 (v0.10.0 cutting is in progress today). We have some existing discussion in a PR but it didn't wind up making it back into the issue tracker I think. |
I filed #2038 to outline what I think we should do next regarding this, let's track there for now. I'd like to see something ship in the next release, the podman support seems to be stabilizing, but this is a missing spot still. With #2038 I think we can solve this in a way that works well for scripts that are using docker or podman interchangeably (though ironically in kind itself we need special codepaths because some of the more advanced usage is just not interchangable). |
As per [0] kind `load docker-image` commands are docker specific. This commit changes that instruction, using the generic `load image-archive` instead, which works both for podman and docker. [0] - kubernetes-sigs/kind#2027 Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
As per [0] kind `load docker-image` commands are docker specific. This commit changes that instruction, using the generic `load image-archive` instead, which works both for podman and docker. [0] - kubernetes-sigs/kind#2027 Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
As per [0] kind `load docker-image` commands are docker specific. This commit changes that instruction, using the generic `load image-archive` instead, which works both for podman and docker. [0] - kubernetes-sigs/kind#2027 Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
Hello. I have the same issue with podman desktop 5.2.2 (in Windows 11) and latest version kindle: when I create local image with podman build -t nameImage . , and then I do kubectl apply -f app.yaml, it does not find the image. I checked the image exists in podman, but in app.yaml, where I defined the pod, I put the images name, but there is ErrImagePull error and the pod is not created successfully. Can anyone help me? Thanks! |
It would be best to file a new issue rather than commenting on an old, closed one. But you don't mention loading your image, only building it and then applying a manifest. If you just omitted that step from your description and are still having problems then please open a new issue and include all the details from the issue template and any additional logging output from the image load command. |
Thank you, stmcginnis. I have created a new issue here: #3732 Thanks! |
See also #2760 and related issues about designing a new I recommend using a local registry anyhow, there is a guide in our docs. |
What happened: Unable to load image using Podman provider:
What you expected to happen: Be able to load image without any workaround (mentioned below).
How to reproduce it (as minimally and precisely as possible):
podman build
podman images
Anything else we need to know?:
Yes, If I create a symlink like below, I'm able to load image:
Environment:
The text was updated successfully, but these errors were encountered: