minikube - opsdig/kb GitHub Wiki

Minikube uses libmachine for provisioning VMs. For more information see the proposal.

Install Minikube

Install libmachine driver plugin for xhyve native macOS Hypervisor:

$ 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

Install kubectl and enable shell autocompletion:

$ brew install kubernetes-cli
$ grep ^plugins ~/.zshrc
plugins=(git kubectl)

Install minikube:

$ brew cask install minikube

Quickstart

Reusing the Docker daemon

Managing your Cluster

Interacting with Cluster

Networking

Persistent Volumes

Mounted Host Folders

Private Container Registries


⚠️ **GitHub.com Fallback** ⚠️