error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.37/version: 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.


解决办法:

docker-machine env default

或者是

docker-machine env default | Invoke-Expression

参考资料:

1、Windows Docker daemon not started after machine restart
https://github.com/moby/moby/issues/30239

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐