在mac上安装minikube,但在启动时报错

问题现象

minikube start --kubernetes-version=v1.23.3
😄 minikube v1.27.0 on Darwin 10.15.6
👎 Unable to pick a default driver. Here is what was considered, in preference order:
💡 Alternatively you could install one of these drivers:
▪ docker: Not installed: exec: “docker”: executable file not found in $PATH
▪ hyperkit: Not installed: exec: “hyperkit”: executable file not found in $PATH
▪ vmware: Not installed: exec: “docker-machine-driver-vmware”: executable file not found in $PATH
▪ parallels: Not installed: exec: “prlctl”: executable file not found in $PATH
▪ virtualbox: Not installed: unable to find VBoxManage in $PATH
▪ podman: Not installed: exec: “podman”: executable file not found in $PATH
▪ qemu2: Not installed: exec: “qemu-system-x86_64”: 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/
在这里插入图片描述
因为没有找到任何驱动,可以先安装docker

解决方案

安装docker desktop

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐