Docker cannot start on Windows

Docker cannot start on Windows

The error is related to that part:

In the default daemon configuration on Windows, the docker client must
be run elevated to connect

First, verify that Docker Desktop application is running. If not, launch it: that will run the docker daemon (just wait few minutes).

Then, if the error still persist, vous pouvez try to switch Docker daemon type, as explained below:

With Powershell:

  • Open Powershell en tant qu’administrateur

  • Launch command: & 'C:\Program Files\Docker\Docker\DockerCli.exe' -SwitchDaemon

OR, with cmd:

  • Open cmd en tant qu’administrateur

  • Launch command: "C:\Program Files\Docker\Docker\DockerCli.exe" -SwitchDaemon