-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vagrant up (2.2.2) not working in WSL #10576
Comments
Hi there, This is because you are attempting to use vagrant project directory located within the WSL and synced folders with paths inside the WSL are not supported. Moving the project directory to a DrvFs mounted file system will fix the issue (this is the mounted local config.vm.synced_folder '.', '/vagrant', disabled: true Cheers! |
Hi Chris, thanks a lot, I can confirm that both methods work. Rephrase the wording a bit:
... or something similar. That would be really helpful for noobs like me. Best regards, |
I am having this same problem but my project folder is in a directory on Host D: mounted at /d as a drvfs mount. Any help welcome. Vagrantfile: /etc/wsl.conf Host: Windows 10.0.19030 Build 19030 Output from vagrant up
|
I am having the same issue as @krjohnston, though with a /mnt/c mountpoint. Have tried using explicit path in the Vagrantfile instead of '.', as well as moving the folder around within the C: drive tree. Host: Windows 10 Pro build 19033.1 |
Same thing happens to me on a |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi there,
On fresh install of Windows 10, fresh install of latest Vagrant, trying to create Ubuntu 18.04 VM, I get:
Vagrant version
vagrant -v
Vagrant 2.2.2
Host operating system
Windows 10 Enterprise 1709
Guest operating system
Ubuntu 18.04
https://app.vagrantup.com/ubuntu/boxes/bionic64
Vagrantfile
Debug output
https://gist.github.com/ivan-radic/9545bf66b793dff0c6794619cc7c6cd9
Expected behavior
I am looking for a workaround, if there is one.
Note that Vagrant for Windows in powershell console works fine, and successfully creates Ubuntu 18.04 machine.
If you need more info, just ask.
Thanks,
Ivan
The text was updated successfully, but these errors were encountered: