Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wsl use docker-desktop #409

Open
foxnight2 opened this issue Sep 1, 2023 · 0 comments
Open

wsl use docker-desktop #409

foxnight2 opened this issue Sep 1, 2023 · 0 comments

Comments

@foxnight2
Copy link

foxnight2 commented Sep 1, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant