Skip to content

Instantly share code, notes, and snippets.

@amosshapira
Forked from ba11b0y/instructions.md
Last active August 7, 2019 21:24
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 amosshapira/184bc4a69a3ec6c8608605f7a8367341 to your computer and use it in GitHub Desktop.
Save amosshapira/184bc4a69a3ec6c8608605f7a8367341 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-amd64 /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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment