docker / docker/docker-install
Remove WSL2 warning
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.2k
- Forks
- 863
- Avg merge
- 3h 15m
- Merged PRs (30d)
- 2
Description
GPU usage is not supported by Docker Desktop, hence I would like to see the recommendation removed or at least skippable with an optional argument: https://github.com/docker/docker-install/blob/master/install.sh#L318
We also use VScode devcontainers and run docker inside that container, so depending on what kernel you run on, you get this warning. Even worse, people already reacted on that warning and installed Docker Desktop, which is in many ways inferior to the WSL2 "native" installation (we had issues with context being searched at C:\ instead of /mnt/C ...)
Contributor guide
No contributing guide indexed for this repository
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 with install.sh around line 318, where the WSL2 warning is emitted. Check how the script detects WSL2 and whether its argument parsing supports an optional skip flag. Done means the warning can be removed or explicitly skipped without disrupting Docker installation; verify the script behavior in the relevant WSL2 and non-WSL2 paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100