Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? #7

Closed
LOGIC-10 opened this issue Oct 17, 2023 · 1 comment

Comments

@LOGIC-10
Copy link
Contributor

cd ToolServer
bash build_all.sh && docker-compose up

返回结果
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

@LOGIC-10
Copy link
Contributor Author

问题已解决。

为了后面的朋友做参考,你需要在本地安装docker desktop.
image

首先,终端运行 docker --version ,显示:
Docker version 20.10.16, build aa7e414
运行docker-compose --version ,显示:
docker-compose version 1.29.2, build 5becea4c

以我的Mac为例,启动docker desktop之后会有一个图标:
image

在engine running的情况下进入ToolServer目录执行bash build_all.sh && docker-compose up即可。
正确显示大概如下:

Sending build context to Docker daemon 59.82MB
Step 1/10 : FROM python:3.10
3.10: Pulling from library/python
3.10: Pulling from library/python
e720f94321d6: Pull complete
5b7541d83e7b: Pull complete
b1a653d69b7b: Pull complete
c02d5d50082e: Pull complete
161c9929f4a4: Pull complete
3466d1c1fbab: Pull complete
e254f2bb393e: Pull complete
5fc78c1c3845: Pull complete
Digest: sha256:a20ae344b668753817b8bffb8628e068278d8ddbde1657f7b836fd74559beacd
Status: Downloaded newer image for python:3.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant