hashicorp / hashicorp/vagrant

Add WSL2 as a provider

Open
#11,615 0 comments 28 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
27.2k
Forks
4.4k
Avg merge
1m
Merged PRs (30d)
1

Description

WSL distributions can be fully customized already, see https://docs.microsoft.com/en-us/windows/wsl/build-custom-distro.

This would also enable us to take advantage of some great stuff from WSL2, such as very fast boot time and a good file system integration with Windows.

Also, another good reason is that the VirtualBox won't be able to run in parallel with WSL2 anytime soon (probably), it would be great if we could use WSL2 as a provider replacement.

### Might be useful:

Per distro configuration such as the amount of memory and CPU: https://docs.microsoft.com/en-us/windows/wsl/wsl-config#configure-per-distro-launch-settings-with-wslconf

Import WSL distro from Docker image and vice-versa https://source.coveo.com/2019/10/18/wsl-from-dockerfile/ and https://d3v.one/creating-a-docker-image-from-a-wsl-instance/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.