admin管理员组

文章数量:1550364

error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/create?fromImage=consul&tag=latest: open //./pipe/docker_engine: The system cannot find the file specified.

网上很多方案都只说了一半,我解决了这个问题,记录一下。
CMD中执行以下命令:

"C:\Program Files\Docker\Docker\DockerCli.exe" -SwitchDaemon
Net stop com.docker.service
Net start com.docker.service

然后再试试。
如果不行,打开docker destop应用再试试。

本文标签: 报错解决方法DockerWindowsDaemon