###Install docker-machine-driver-xhyve docker-machine-driver-xhyve is a docker machine driver plugin for xhyve native OS X Hypervisor. xhyve is a lightweight OS X virtualization solution. In my opinion, it's a far better option than virtualbox for running minikube. ####Brew On MacOS sierra, download latest using
brew install docker-machine-driver-xhyve --HEAD
sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
####Build from source
go get -u -d github.com/zchee/docker-machine-driver-xhyve
cd $GOPATH/src/github.com/zchee/docker-machine-driver-xhyve
# just in case
git submodule update --init
# build and install
make install
# or if want verbose
make install V=1
###Install minikube OSX
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.12.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
###Start Minikube
minikube start --memory=2048 --vm-driver=xhyve
#To debug you can start minikube using:
minikube start --v=5 --logtostderr --show-libmachine-logs --vm-driver=xhyve
After starting, wait a few seconds for minikube to stabilize before running any kubectl
command. If you try running immediately, you might run into error: You must be logged in to the server (the server has asked for the client to provide credentials)
error.
Having the same problem - did you find a fix?
Running xhyve directly through docker machine works fine...