Skip to content

Instantly share code, notes, and snippets.

@ba11b0y
Created November 1, 2018 07:13
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save ba11b0y/cef9547602fb25e2d6aeb7700d0dd4b1 to your computer and use it in GitHub Desktop.
Save ba11b0y/cef9547602fb25e2d6aeb7700d0dd4b1 to your computer and use it in GitHub Desktop.
Minikube Installation on Ubuntu 18.04 which really works!

Installation of Minikube with kvm2 driver which really works!

Disclaimer: Tried on Ubuntu 18.04 LTS

Installation of minikube

  • Apparently installation from snap doesn't work as expected, use curl for installation of the latest version.

  • curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64

  • sudo install minikube-linux-amd64n /usr/local/bin/minikube

Installation of kvm2(IMO it's the best)

Install dependencies and configure user groups
  • sudo apt install libvirt-clients libvirt-daemon-system qemu-kvm libvirt-bin
  • sudo usermod -a -G libvirt $(whoami)
  • newgrp libvirt
kvm2 installation
  • curl -LO https://storage.googleapis.com/minikube/releases/latest/docker-machine-driver-kvm2 && sudo install docker-machine-driver-kvm2 /usr/local/bin/

Start minikube

  • minikube start --vm-driver=kvm2
@amosshapira
Copy link

In sudo install minikube-linux-amd64n /usr/local/bin/minikube you have a spare n after the binary name.

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