在ubuntu 16.04下了docker, 裝了docker-machine和virualbox,卡在下面這個錯誤
$ sudo docker-machine create --driver virtualbox myvm3
Running pre-create checks...
Error with pre-create check: "We support Virtualbox starting with version 5.
Your VirtualBox install is \"
WARNING: The vboxdrv kernel module is not loaded.
Either there is no module available for the current kernel (4.8.0-56-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.\\n5.1.22r115126\".
Please upgrade at https://www.virtualbox.org"
網(wǎng)上搜到的解決方法是/etc/rc.d/vboxdrv setup
冈欢,可是我都沒這個vboxdrv让禀。還好搜包的時候看到這么一句同窘。
virtualbox-dkms - x86 virtualization solution - kernel module sources for dkms
那就裝一下額鹦蠕,意外的好了 - -
所以這個問題解決方法是
$ sudo apt-get install virtualbox-dkms