Install Virtualbox in WSL Windows 10
12,557
Solution 1
Vagrant is now capable of detecting that it is running on WSL.
How to configure Windows and WSL to enable this feature is described on Vagrant website
They claim it's an advanced feature but the configuration seems quite straightforward.
Solution 2
Unfortunately, that will not work (at least for now), as explained here: https://github.com/Microsoft/BashOnWindows/issues/549
Author by
Heath N
Updated on June 21, 2022Comments
-
Heath N almost 2 years
I need to have access to Virtualbox from within the WSL, I have tried to
sudo apt-get install virtualbox
but I end up with the following error:WARNING: The character device /dev/vboxdrv does not exist. Please install the virtualbox-dkms package and the appropriate headers, most likely linux-headers-3.4.0+. You will not be able to start VMs until this problem is fixed.
4.3.36_Ubuntur105129