I’ve followed the instruction in the official website to use docker with WSL 2 and I’ve installed the Ubuntu 18.04 for WSL 2 distro. I thought docker can automatically detect my distro, so I can choose which distro that will I use in my docker desktop. I’ve been searching about this issue, and still not get the solution. Please help, thanks.
This is the list of wsl 2 distro that I have
Because of this, I can’t access the docker container, it said
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/containers/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.
Source: Windows Questions