Why Docker can’t detect WSL 2 distro in Windows 10 Home?

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 WSL Integration page, I’ve set my ubuntu 18.04 as default, but still no luck.
Docker WSL Integration page

This is the list of wsl 2 distro that I have

List WSL 2 distro that I have

This is my docker version, it’s the latest one.
Docker version

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

LEAVE A COMMENT