kubernetes/minikube

none with containerd: make it possible to run without the `docker` CLI

Open

#10.908 geöffnet am 24. März 2021

Auf GitHub ansehen
 (23 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (5.222 Forks)batch import
co/none-driverco/runtime/containerdhelp wantedkind/buglifecycle/frozenpriority/backlog

Repository-Metriken

Stars
 (31.799 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 12T 19h) (43 gemergte PRs in 30 T)

Beschreibung

Steps to reproduce the issue:

This is the current behavior regarding initizliation with none driver with containerd runtime.

# minikube start --driver=none --container-runtime='containerd'
😄  minikube v1.18.1 on Ubuntu 20.04 (amd64)
✨  Using the none driver based on user configuration

🤷  Exiting due to PROVIDER_NONE_NOT_FOUND: The 'none' provider was not found: exec: "docker": executable file not found in $PATH
💡  Suggestion: Install docker
📘  Documentation: https://minikube.sigs.k8s.io/docs/reference/drivers/none/

root@minikube:~# minikube start -h | grep provider
root@minikube:~# minikube start --driver=none --container-runtime='containerd'
😄  minikube v1.18.1 on Ubuntu 20.04 (amd64)
✨  Using the none driver based on user configuration

🤷  Exiting due to PROVIDER_NONE_NOT_FOUND: The 'none' provider was not found: exec: "docker": executable file not found in $PATH
💡  Suggestion: Install docker
📘  Documentation: https://minikube.sigs.k8s.io/docs/reference/drivers/none/

Since Docker is no longer default runtime, I think even none driver should consider the runtime option if specified.

Full output of failed command:

Full output of minikube start command used, if not already included:

Optional: Full output of minikube logs command:

Contributor Guide