error during connect: this error may indicate that the docker daemon is not running

简介: error during connect: this error may indicate that the docker daemon is not running

docker desktop 执行docker ps报错:

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.

管理员执行

cd "C:\Program Files\Docker\Docker"
./DockerCli.exe -SwitchDaemon

没有效果,依然报错

重启

Net stop com.docker.service 
Net start com.docker.service

再次执行

cd "C:\Program Files\Docker\Docker"
./DockerCli.exe -SwitchDaemon

打开docker desktop

再次执行

docker ps
docker --version

成功~


相关文章
|
7月前
|
Unix Docker 容器
Is the docker daemon running?
Is the docker daemon running?
|
3月前
|
安全 Linux 数据安全/隐私保护
docker运行报错docker: Error response from daemon: AppArmor enabled on system but the docker-default prof
docker运行报错docker: Error response from daemon: AppArmor enabled on system but the docker-default prof
76 0
|
5月前
|
Unix Docker 容器
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker
|
5月前
|
Docker Windows 容器
Docker在win10上报错,error during connect: In the default daemon configuration on Windows
Docker在win10上报错,error during connect: In the default daemon configuration on Windows
|
2月前
|
Linux 开发工具 git
【开发专题_03】unable to access ‘https://github.com/deviantony/docker-elk.git/‘: Failed connect to github
【开发专题_03】unable to access ‘https://github.com/deviantony/docker-elk.git/‘: Failed connect to github
|
2月前
|
Docker 容器
百度搜索:蓝易云【docker启动报错:Cannot connect to the Docker daemon】
通过以上方法,你应该能够解决“Cannot connect to the Docker daemon”错误,并成功启动Docker。如果问题仍然存在,可能需要检查其他系统配置或查看Docker日志以找出具体原因。
40 2
|
4月前
|
消息中间件 RocketMQ Docker
win10中 docker 安装rocketmq和解决坑connect to <172.17.0.3:10909> failed
win10中 docker 安装rocketmq和解决坑connect to <172.17.0.3:10909> failed
|
4月前
|
Docker 容器
docker使用遇到问题Got permission denied while trying to connect to the Docker daemon socket
docker使用遇到问题Got permission denied while trying to connect to the Docker daemon socket
67 0
|
4月前
|
Unix Docker 容器
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon
470 0
|
6月前
|
Docker 容器
Docker login Harbor报错解决:Error response from daemon: Get https:..
Docker login Harbor报错解决:Error response from daemon: Get https:..
157 0