wsl use docker-desktop

Open
#409 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker

Research direction

Start by reproducing the Windows 11 setup with wsl --install, the Hyper-V command, and Docker Desktop, then check the linked Docker WSL 2 guidance. Confirm whether WSL integration is enabled and whether the docker command works before Docker Desktop is opened; document the finding or identify the relevant setup guidance that needs correction.

Written by the indexing model from the issue text.

Description

environment : windows11

target: Install the docker on the WSL (windows linux).

the command on the powershell

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

install the ubuntu

wsl --install

and then install docker-desktop with the link
https://www.docker.com/products/docker-desktop/

when I open the ubuntu terminal and enter the command docker, it show the error

The command 'docker' could not be found in this WSL 2 distro.
We recommend to activate the WSL integration in Docker Desktop settings.

For details about using Docker Desktop with WSL 2, visit:

https://docs.docker.com/go/wsl2/

Until I open the docker desktop exe, it work.

Dominant language
JavaScript
Stars
3.1k
Forks
6.4k
PR merge metrics
No merged PRs in 30d

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.

More from docker/getting-started

All issues in docker/getting-started

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.