Vagrant From WSL

Wondering what my error is at this point but I can not start Vagrant from WSL. I followed the documentation here: https://www.vagrantup.com/docs/other/wsl

My virtualbox install is in the default location on Windows. VBoxManage.exe is reachable if i do VboxManage.exe --version from WSL. Is there something I can check in vagrant? I have tried this on 2 separate Windows 10 laptops now with no luck.

What is your error output? And is it WSL or WSL2?

I couldn’t get vagrant to work with WSL2 in my experience, so maybe you are experiencing the same challenge. I just switched over to WSL version 1. To do so open PowerShell and use the following command to set your linux distro to WSL version 1: wsl.exe --set-version (distro name) 1 To find the proper name of your distro that Windows uses, run this command from PowerShell wsl.exe -l -v

1 Like