如题,在 Mac 上安装 minikube 报错:

The driver 'xhyve' is not supported on darwin

解决方法的话,我是直接换 hyperkit,如下:


brew install hyperkit
brew install docker-machine-driver-hyperkit

sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit
sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit


minekube start --vm-driver=hyperkit

这个文档里列出了 minikube 支持的 driver: https://minikube.sigs.k8s.io/docs/reference/drivers/