kubernetes-sigs / kind

Kubernetes IN Docker - local clusters for testing Kubernetes
https://kind.sigs.k8s.io/
Apache License 2.0
13.49k stars 1.56k forks source link

kind load image always results in: not yet present on node "kind-control-plane", loading... #2835

Open janvlug opened 2 years ago

janvlug commented 2 years ago

What happened: When I run multiple times for example: kind load docker-image docker.io/library/python:3.10-alpine3.15 I always get the message: Image: "docker.io/library/python:3.10-alpine3.15" with ID "cb8e79cf9f4b09cd342a757253e1422a90fe22b45369590178c86fa3968bb389" not yet present on node "kind-control-plane", loading...

What you expected to happen: A message that the image has already been loaded, or is available.

How to reproduce it (as minimally and precisely as possible): Run twice: kind load docker-image docker.io/library/python:3.10-alpine3.15 Observe the messages.

Anything else we need to know?: I'm using podman on Fedora 36. Here the output on the console: log_loading_docker_image.txt

Environment:

stmcginnis commented 2 years ago

Possibly related? https://github.com/kubernetes-sigs/kind/issues/2816

aojea commented 2 years ago

Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.

this is not supported, because podman is not totally compatible with docker.

For using podman with kind you have to use KIND_EXPERIMENTAL_PROVIDER=podman