Home > OS >  Docker fails to start on Windows 11 with WSL
Docker fails to start on Windows 11 with WSL

Time:02-14

I searched on SO for similar questions already, and none of the answers helped.

I installed and uninstalled docker many times and restarted every time. I set the env variable, and I can run docker, and see that it's installed in terminal, but the GUI won't startup.

enter image description here

This is the error I get when trying to run a hello world command.

docker: error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Post "http:////./pipe/docker_engine/v1.24/containers/create": open //./pipe/docker_engine: The system cannot find the file specified.

I am running it on a Windows 11 Home version.

Any help is appreciated.

CodePudding user response:

Seems like and issue with the new Docker release. After I downgraded I was able to get it too work. Docker version 4.4.4.

Make sure you allow virtualization too, by running the following command in powershell as Admin: bcdedit /set hypervisorlaunchtype auto

CodePudding user response:

wow, i'm spent a lot of time today to install docker desktop 4.5.0 on my new laptop and installation old version fix this problem. thx Arcanus

  • Related