Driver plugin installation
Minikube uses Docker Machine to manage the Kubernetes VM so it benefits from the driver plugin architecture that Docker Machine uses to provide a consistent way to manage various VM providers. Minikube embeds VirtualBox and VMware Fusion drivers so there are no additional steps to use them. However, other drivers require an extra binary to be present in the host PATH.
The following drivers currently require driver plugin binaries to be present in the host PATH:
Minikube is currently tested against
$ sudo curl -L https://github.com/dhiltgen/docker-machine-kvm/releases/download/v0.7.0/docker-machine-driver-kvm -o /usr/local/bin/docker-machine-driver-kvm $ sudo chmod +x /usr/local/bin/docker-machine-driver-kvm # Install libvirt and qemu-kvm on your system, e.g. # Debian/Ubuntu $ sudo apt install libvirt-bin qemu-kvm # Fedora/CentOS/RHEL $ sudo yum install libvirt-daemon-kvm kvm # Add yourself to the libvirtd group (use libvirt group for rpm based distros) so you don't need to sudo $ sudo usermod -a -G libvirtd $(whoami) # Update your current session for the group change to take effect $ newgrp libvirtd
$ brew install docker-machine-driver-xhyve # docker-machine-driver-xhyve need root owner and uid $ 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
Hyper-v users may need to create a new external network switch as described here. This step may prevent a problem in which
minikube start hangs indefinitely, unable to ssh into the minikube virtual machine. In this add, add the
--hyperv-virtual-switch=switch-name argument to the
minikube start command.