window下使用docker 相关命令报
error during connect: This error may indicate that the docker daemon is not running.: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json: open //./pipe/docker_engine: The system cannot find the file specified.
解决方法
进入安装目录:C:\Program Files\Docker\Docker
执行命令: .\DockerCli.exe -SwitchDaemon
需要1分钟时间,然后完成后,就可以了

博客介绍了在Windows系统下使用Docker相关命令报错的解决办法。报错信息显示可能是Docker守护进程未运行,解决方法是进入安装目录C:\\Program Files\\Docker\\Docker,执行命令.\DockerCli.exe -SwitchDaemon,约1分钟完成操作即可。
8364

被折叠的 条评论
为什么被折叠?



