I try to start minikube with minikube start
but i get the following error:
charlie@charlie:~$ minikube start Starting local Kubernetes v1.10.0 cluster... Starting VM... E0705 00:39:35.199099 20888 start.go:168] Error starting host: Error creating host: Error executing step: Running precreate checks. : We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The vboxdrv kernel module is not loaded. Either there is no module\n available for the current kernel (4.15.0-23-generic) or it failed to\n
load. Please recompile the kernel module and install it by\n\n
sudo /sbin/vboxconfig\n\n You will not be able to start VMs until this problem is fixed.\n5.2.12r122591". Please upgrade athttps://www.virtualbox.org.Retrying.
I tried starting the virtualbox but i get the following error:
charlie@charlie:~$ virtualbox WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (4.15.0-23-generic) or it failed to load. Please recompile the kernel module and install it by
sudo /sbin/vboxconfig You will not be able to start VMs until this problem is fixed.
I tried running sudo /sbin/vboxconfig
but i get the following error:
charlie@charlie:~$ sudo /sbin/vboxconfig vboxdrv.sh: Stopping VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: Starting VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
There were problems setting up VirtualBox. To re-start the set-up process, run /sbin/vboxconfig as root.
I tried as root but still the error above even though i am root.I am using Ubuntu 18.04 with minikube v0.28.0