Does not support Docker Desktop WSL 2 Tech Preview
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 13d 8h
- Merged PRs (30d)
- 2
Description
Docker Desktop WSL 2 Tech Preview uses the Docker "context" mechanism to switch between the WSL 2 host (npipe:////./pipe/docker_wsl) and the default legacy host (npipe:////./pipe/docker_engine). This package's "Sensible defaults" section (see here) does not look for WSL 2.
I have a quick fix for this which can be seen in the following pull request: #2429. I am not very familiar with this code base, so I'd imagine there are things to improve here that I've missed.
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 in docker/utils/utils.py around the “Sensible defaults” section at lines 222–226, and review pull request #2429 for the proposed WSL 2 handling. Check how the Docker context selects between the WSL 2 and legacy hosts; done means the defaults support Docker Desktop WSL 2 without breaking the existing host selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100