Minikube doesn't run on VirtualBox

0

I had setup VitualBox 6.0.6 on Ubuntu 18.04 and minikube version 1.0.1, and when i run next command

minikube start

i got next errors log

๐Ÿ˜„ minikube v1.0.1 on linux (amd64) ๐Ÿคน Downloading Kubernetes v1.14.1 images in the background ... ๐Ÿ”ฅ Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...

๐Ÿ’ฃ Unable to start VM: create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed: VBoxManage: error: The virtual machine 'minikube' has terminated unexpectedly during startup with exit code 1 (0x1) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine

๐Ÿ˜ฟ Sorry that minikube crashed. If this was unexpected, we would love to hear from you: ๐Ÿ‘‰ https://github.com/kubernetes/minikube/issues/new

virtualbox
minikube
asked on Stack Overflow May 5, 2019 by mibrahim.iti • edited May 5, 2019 by mibrahim.iti

1 Answer

1

Running next two commands solved the problem for me:

1- sudo apt autoremove 
2- sudo /sbin/vboxconfig

Note: when you run second command line "sudo /sbin/vboxconfig" you must see Building VirtualBox kernal modules message in logs, something like that

vboxdrv.sh: Stopping VirtualBox services.

vboxdrv.sh: Starting VirtualBox services.

vboxdrv.sh: Building VirtualBox kernel modules.

answered on Stack Overflow May 5, 2019 by mibrahim.iti • edited May 5, 2019 by mibrahim.iti

User contributions licensed under CC BY-SA 3.0