The command $ docker could not be found in this WSL 1 distro. We recommend to convert this distro to WSL 2 and activate the WSL integration in Docker Desktop settings.
$ docker
See https://docs.docker.com/docker-for-windows/wsl/ for details.
Not able to change to WSL2 and not able to install docker:
You need to go to the docker desktop settings, and enable integration with your distro in "Resources -> WSL Integration".
2.1m questions
2.1m answers
60 comments
57.0k users