Request: Ability to name preferred WSL environment
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 2.2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
Description
Currently, Docker Desktop blindly applies the default WSL environment. However, VPN's and other components are often incompatible with Docker's need for WSL v2. So the user ends up with multiple environments.
You already select a predictable name for this distribution, docker-desktop. Please select this named distro, instead of following the default environment.
Better yet, allow the user to name a custom environment, in case they want to replace docker-desktop with yet another WSL distribution.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the Docker CLI selects its WSL distribution and read the linked WSL documentation for running a specific distribution. Define whether the change should select docker-desktop only or support a user-configured name, then verify that the chosen environment is used without relying on the default WSL distribution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100