-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Add WSL2 to the Windows 2022 image #5920
Comments
Given that hosted runners do seem to support nested virtualization now, is it conceivable that WSL2 will be enabled on windows runners in the future? |
@nzbr only larger runners officially support nested now, not the standard ones, unfortunately (yet), so we can not replace v1 with v2 for the time being. Eventually nested will be supported by the standard runners as well, but we have no ETA on this. |
@mikhailkoliada According to https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#cloud-hosts-used-by-github-hosted-runners it seems like the standard runners are now using Searching around seems to show that the change to the new VMs happened in January: https://github.blog/2024-01-17-github-hosted-runners-double-the-power-for-open-source/ |
@mikhailkoliada Any updates or hints on how to make WSL2 work in 2024? We cannot really use WSL1 because we need to make use of docker/podman from inside WSL. When we are on larger runners, we could attempt to upgrade wsl version from inside the pipeline but I am not sure how long it will take to perform this action as it could easily double the execution time for the pipelines. |
I got WSL2 working in GitHub runners. See https://github.com/vedantmgoyal9/setup-wsl2. |
Tool name
Windows Subsystem for Linux version 2
Tool license
Proprietary (included with Windows)
Add or update?
Desired version
2
Approximate size
No response
Brief description of tool
WSL2 allows running Linux applications on windows by using a Hyper-V VM running a real Linux kernel
URL for tool's homepage
https://docs.microsoft.com/en-us/windows/wsl/about
Provide a basic test case to validate the tool's functionality.
Platforms where you need the tool
Virtual environments where you need the tool
Can this tool be installed during the build?
Tool installation time in runtime
No response
Are you willing to submit a PR?
Yes
The text was updated successfully, but these errors were encountered: