admin管理员组

文章数量:1559101

问题描述

在尝试使用docker-compose up -d构建镜像时,报错:

ps d:\program files\milvus> docker-compose up -d
error during connect: this error may indicate that the docker daemon is not running: get "http:////./pipe/docker_engine/v1.24/containers/json?all=1&filters={"label":{"com.dockerpose.config-hash":true,"com.dockerpose.project=milvus":true}}": open //./pipe/docker_engine: the system cannot find the file specified.

原因分析

是因为我在系统里禁止了docker-desktop开机自启动,导致docker_engine没有运行,点击一下桌面的docker图标运行一下就可以了:

还有一种方法:

https://blog.csdn/tangcv/article/details/112238084

是切换到docker的安装路径下,
cd "c:\program files\docker\docker"
运行命令:
dockercli.exe -switchdaemon

本文标签: running