kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.19k stars 4.87k forks source link

Minikube cluster creation failure on Podman Desktop #18039

Open xbabalov opened 7 months ago

xbabalov commented 7 months ago

What Happened?

When trying to create a Minikube cluster in Resources in Podman Desktop, I get a following error even while having a rootful podman machine running.

Steps to reproduce:

  1. Install Podman Desktop
  2. Install and initialize Podman with rootful machine
  3. Install Minikube
  4. Try to create a Minikube cluster

Screenshot: minikube error on rootful machine

Error: Error: Failed to create minikube cluster. E0125 05:58:08.614734 408 cache.go:189] Error downloading kic artifacts: not yet implemented, see issue #8426 ! StartHost failed, but will try again: driver start: start: podman start minikube: exit status 125 stdout: stderr: Error: no container with name or ID "minikube" found: no such container Failed to start podman container. Running "minikube delete" may fix it: driver start: start: podman start minikube: exit status 125 stdout: stderr: Error: no container with name or ID "minikube" found: no such container X Exiting due to GUEST_PROVISION: error provisioning guest: Failed to start host: driver start: start: podman start minikube: exit status 125 stdout: stderr: Error: no container with name or ID "minikube" found: no such container ╭─────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ If the above advice does not help, please let us know: │ │ https://github.com/kubernetes/minikube/issues/new/choose │ │ │ │ Please run minikube logs --file=logs.txt and attach logs.txt to the GitHub issue. │ │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────╯

Attach the log file

minikube_logs_12188603c5e9f28dcb94d82bb148706dd9bd0495_0.log

Operating System

Windows

Driver

Podman

ismaelhamed commented 5 months ago

Same here

wfschneider commented 4 months ago

This was working for me last week but since I restarted my Mac I can no longer start minikube with podman.

bobsira commented 3 months ago
podman error

I am getting the following error when I run this on a windows machine: _Error: Failed to create minikube cluster. Exiting due to PROVIDER_PODMAN_NOT_FOUND: The 'podman' provider was not found: exec: "podman": executable file not found in %PATH% Suggestion: Install Podman * Documentation: https://minikube.sigs.k8s.io/docs/drivers/podman/_

However spinning up a cluster from the command line using this command: minikube start --driver=podman --container-runtime=cri-o is a successful.

k8s-triage-robot commented 2 weeks ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale