Prerequisite: latest Docker for Mac on MacOS Sierra
$ brew update
$ brew install --HEAD xhyve
$ brew install docker-machine-driver-xhyve
$ 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
$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.18.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
$ curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.6.0/bin/darwin/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
$ minikube start --logtostderr --show-libmachine-logs --vm-driver=xhyve
If you are behind a proxy:
$ minikube start --docker-env HTTP_PROXY=$http_proxyT \
--docker-env HTTPS_PROXY=$https_proxy
where $http_proxy is full URI like http://proxy.example.com:8088
Hyperkit is probably a better choice. Minikube offers ready-to-use binaries here: https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#hyperkit-driver