Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
root@1eec2cd3-2cba-e416-e1b6-845b715b736c:~# uname -a | |
Linux 1eec2cd3-2cba-e416-e1b6-845b715b736c 3.13.0 BrandZ virtual linux x86_64 x86_64 x86_64 GNU/Linux | |
root@1eec2cd3-2cba-e416-e1b6-845b715b736c:~# rustc -Vv | |
rustc 1.0.0-nightly (44a287e6e 2015-01-08 17:03:40 -0800) | |
binary: rustc | |
commit-hash: 44a287e6eb22ec3c2a687fc156813577464017f7 | |
commit-date: 2015-01-08 17:03:40 -0800 | |
host: x86_64-unknown-linux-gnu | |
release: 1.0.0-nightly | |
root@1eec2cd3-2cba-e416-e1b6-845b715b736c:~# cat hello.rs |
###Install docker-machine-driver-xhyve docker-machine-driver-xhyve is a docker machine driver plugin for xhyve native OS X Hypervisor. xhyve is a lightweight OS X virtualization solution. In my opinion, it's a far better option than virtualbox for running minikube. ####Brew On MacOS sierra, download latest using
brew install docker-machine-driver-xhyve --HEAD
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