Hello All,
Trying to run a Kind cluster with Podman on the latest MacOS today and came across this.
E0504 12:22:31.375083 26245 controller.go:71] "Error listing clusters, retrying..." err="failed to list clusters: command \"docker ps -a --filter label=io.x-k8s.kind.cluster --format '{{.Label \"io.x-k8s.kind.cluster\"}}'\" failed with error: exit status 1"
This failure occurs when trying to run cloud-provider-kind. I have alias docker=podman and the KIND_EXPERIMENTAL_PROVIDER=podman env var in both my shell and the sudo shell. cloud-provider-kind was still attempting to use Docker and erroring with the above error.
I ran across #242 where @colinjlacy pointed out that completely uninstalling Docker from their machine resolved the issue. I tested the same on my machine and was able to verify. After Docker was removed, my machine began to respect the KIND_EXPERIMENTAL_PROVIDER=podman env var.
It seems like in the code somewhere the check of Docker being installed is overriding the env var or even the alias.
I think it's reasonable for a user to have both Docker and Podman installed on their machine. It's a little difficult to troubleshoot.
Hello All,
Trying to run a Kind cluster with Podman on the latest MacOS today and came across this.
This failure occurs when trying to run
cloud-provider-kind. I havealias docker=podmanand theKIND_EXPERIMENTAL_PROVIDER=podmanenv var in both my shell and thesudoshell.cloud-provider-kindwas still attempting to use Docker and erroring with the above error.I ran across #242 where @colinjlacy pointed out that completely uninstalling Docker from their machine resolved the issue. I tested the same on my machine and was able to verify. After Docker was removed, my machine began to respect the
KIND_EXPERIMENTAL_PROVIDER=podmanenv var.It seems like in the code somewhere the check of Docker being installed is overriding the env var or even the alias.
I think it's reasonable for a user to have both Docker and Podman installed on their machine. It's a little difficult to troubleshoot.