microsoft / microsoft/WSL

[docs] Examples of installing the same distro with different WSL versions

Open
#8,271 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

I originally reported this issue and usecase in Terminal repo: https://github.com/microsoft/terminal/issues/12888#issuecomment-1095499387

Does wsl.exe support launching the same Ubuntu-20.04 distro as WSLv1 or as WSLv2? Ideally we should be able to specify the wanted WSL version in the wsl.exe launch command line arguments.

It's useful to not have full 700Mb of vm ram for just having a simple bash running (of course when WSLv1 suffices for actual usage)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Windows Terminal issue and comment, then inspect the existing WSL documentation for wsl.exe launch arguments and examples of installing or selecting WSL versions. Done means the documentation clearly explains whether the same Ubuntu-20.04 distro can be launched as WSLv1 or WSLv2 and shows the supported commands, if applicable.

Written by the indexing model from the issue text.

Assessment

Domain
cli, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.