window安装docker-destop完后运行docker 命令,发现会报以下错误:
error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.39/containers/create: 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.
解决方法:
cd "C:\Program Files\Docker\Docker"
./DockerCli.exe -SwitchDaemon
参见github:github.com/docker/for-…