docker / docker/docker-install

Remove WSL2 warning

Open
#258 0 comments 0 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.