Skip to content

Instantly share code, notes, and snippets.

@raymondzhaoy
Forked from inadarei/minikube-sierra.md
Last active June 11, 2018 05:15
Show Gist options
  • Save raymondzhaoy/848c9127e027646d677fd7ad26662c8d to your computer and use it in GitHub Desktop.
Save raymondzhaoy/848c9127e027646d677fd7ad26662c8d to your computer and use it in GitHub Desktop.
Minikube Setup: Docker for Mac / Sierra

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.26.1/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
$ curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.10.1/bin/darwin/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/

$ minikube start --logtostderr --show-libmachine-logs --vm-driver=virtualbox

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

Updated:

$ minikube start --logtostderr --show-libmachine-logs --vm-driver=xhyve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment