exiting due to drv_not_detected – Kubernetes error resolution

exiting due to drv_not_detected: no possible driver

😄 minikube v1.17.1 sur Darwin 10.15.7
👎 Unable to pick a default driver. Here is what was considered, in preference order:
▪ parallels : Not installed: exec: “prlctl”: executable file not found in $PATH
▪ podman : Not installed: exec: “podman”: executable file not found in $PATH
▪ virtualbox : Not installed: unable to find VBoxManage in $PATH
▪ vmware : Not installed: exec: “docker-machine-driver-vmware”: executable file not found in $PATH
▪ vmwarefusion : Not installed: the ‘vmwarefusion’ driver is no longer available
▪ docker : Not installed: exec: “docker”: executable file not found in $PATH
▪ hyperkit : Not installed: exec: “hyperkit”: executable file not found in $PATH

❌ Exiting due to DRV_NOT_DETECTED: No possible driver was detected. Try specifying –driver, or see https://minikube.sigs.k8s.io/docs/start/

😄  minikube v1.17.1 sur Darwin 10.15.7
👎  Unable to pick a default driver. Here is what was considered, in preference order:
    ▪ parallels : Not installed: exec: "prlctl": executable file not found in $PATH
    ▪ podman : Not installed: exec: "podman": executable file not found in $PATH
    ▪ virtualbox : Not installed: unable to find VBoxManage in $PATH
    ▪ vmware : Not installed: exec: "docker-machine-driver-vmware": executable file not found in $PATH
    ▪ vmwarefusion : Not installed: the 'vmwarefusion' driver is no longer available
    ▪ docker : Not installed: exec: "docker": executable file not found in $PATH
    ▪ hyperkit : Not installed: exec: "hyperkit": executable file not found in $PATH

❌  Exiting due to DRV_NOT_DETECTED: No possible driver was detected. Try specifying --driver, or see https://minikube.sigs.k8s.io/docs/start/

When you try to launch :

minikube start

You get this error :

😄  minikube v1.17.1 sur Darwin 10.15.7
👎  Unable to pick a default driver. Here is what was considered, in preference order:
    ▪ parallels : Not installed: exec: "prlctl": executable file not found in $PATH
    ▪ podman : Not installed: exec: "podman": executable file not found in $PATH
    ▪ virtualbox : Not installed: unable to find VBoxManage in $PATH
    ▪ vmware : Not installed: exec: "docker-machine-driver-vmware": executable file not found in $PATH
    ▪ vmwarefusion : Not installed: the 'vmwarefusion' driver is no longer available
    ▪ docker : Not installed: exec: "docker": executable file not found in $PATH
    ▪ hyperkit : Not installed: exec: "hyperkit": executable file not found in $PATH

❌  Exiting due to DRV_NOT_DETECTED: No possible driver was detected. Try specifying --driver, or see https://minikube.sigs.k8s.io/docs/start/

Solution setup Docker with homebrew- Unable to pick a default driver :

You can setup Docker with Homebrew Cask : Homebrew Cask is a Homebrew extension for installing GUI software on Mac os like docker.

brew cask install docker

if you get :

Error: Calling `brew cask install` is disabled! Use brew install [--cask] instead.

Then use instead this command and it will works :

brew install docker --cask

Check docker version :

docker --version

If the command doesn’t works :

docker --version
zsh: command not found: docker

So you can run docker app in finder or in command line it will start docker desktop :

open /Applications/Docker.app

Then you can try again minikube :

minikube start

External links – exiting due to drv_not_detected: no possible driver:

https://www.cprime.com/resources/blog/docker-on-mac-with-homebrew-a-step-by-step-tutorial/

https://github.com/Homebrew/homebrew-cask

https://kubernetes.io/fr/docs/setup/learning-environment/minikube/

Internal links :

https://128mots.com/index.php/2021/01/31/installer-kubernetes-mac/

Leave a Reply

Your email address will not be published. Required fields are marked *