bug:the docker client must be ru
2022-03-31 本文已影响0人
CXY_XZL
1.问题描述
一段时间不用docker,今天启动docker时发现报错了,报错主要信息如下:
error during connect: This error may indicate that the docker daemon is not running.: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version: open //./pipe/docker_engine: The system cannot find the file specified.
解决方法如下:
在powershell
或者cmd
中执行,切换docker
为daemon
状态:
cd "C:\Program Files\Docker\Docker"
DockerCli.exe -SwitchDaemon
然后另开一个窗口执行命令:
docker images