Skip to content

Instantly share code, notes, and snippets.

@andrewvmail
Forked from inadarei/minikube-sierra.md
Created April 10, 2018 00:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewvmail/5cb513ebd6b0acd394b9fe9379ba3d35 to your computer and use it in GitHub Desktop.
Save andrewvmail/5cb513ebd6b0acd394b9fe9379ba3d35 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.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

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