[GH-ISSUE #176] Docker daemon is not running? #119

Closed
opened 2026-03-01 21:40:21 +03:00 by kerem · 6 comments
Owner

Originally created by @seed-of-apricot on GitHub (Mar 31, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/176

I installed the act and can run the action with success.

>act -n
*DRYRUN* [build-test/test] �🚀  Start image=node:12.6-buster-
im
*DRYRUN* [build-test/test]   �🐳  docker run image=node:12.6-
ster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
*DRYRUN* [build-test/test] ⭐  Run actions/checkout@v2        
*DRYRUN* [build-test/test]   ✅  Success - actions/checkout@v2

*DRYRUN* [build-test/test] ⭐  Run ./
*DRYRUN* [build-test/test]   ✅  Success - ./

But when I act -p, it says:

>act -p
[build-test/test] �🚀  Start image=node:12.6-buster-slim
Error: error during connect: This error may indicate that the docker daemon is not running.: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/create?fromImage=node&tag=12.6-buster-slim: open //./pipe/docker_engine: The system cannot find the file specified.

Am I fine to go or do I still need to do something? 🤔

Originally created by @seed-of-apricot on GitHub (Mar 31, 2020). Original GitHub issue: https://github.com/nektos/act/issues/176 I installed the act and can run the action with success. ```node >act -n *DRYRUN* [build-test/test] �🚀 Start image=node:12.6-buster- im *DRYRUN* [build-test/test] �🐳 docker run image=node:12.6- ster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] *DRYRUN* [build-test/test] ⭐ Run actions/checkout@v2 *DRYRUN* [build-test/test] ✅ Success - actions/checkout@v2 *DRYRUN* [build-test/test] ⭐ Run ./ *DRYRUN* [build-test/test] ✅ Success - ./ ``` But when I `act -p`, it says: ```node >act -p [build-test/test] �🚀 Start image=node:12.6-buster-slim Error: error during connect: This error may indicate that the docker daemon is not running.: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/create?fromImage=node&tag=12.6-buster-slim: open //./pipe/docker_engine: The system cannot find the file specified. ``` Am I fine to go or do I still need to do something? 🤔
kerem 2026-03-01 21:40:21 +03:00
Author
Owner

@bigzoo commented on GitHub (May 2, 2020):

Facing a similar issue. Running on Windows 10 Build 19041.207, WSL, with Ubuntu 20.04 and installed docker via sudo apt-get install docker.io. Running docker -v I get version 19.03 but act errors out with the message

Error: unable to determine if image already exists for image "node:12.6-buster-slim": Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Any suggestions ?

<!-- gh-comment-id:622928222 --> @bigzoo commented on GitHub (May 2, 2020): Facing a similar issue. Running on Windows 10 Build 19041.207, WSL, with Ubuntu 20.04 and installed docker via `sudo apt-get install docker.io`. Running `docker -v` I get version 19.03 but act errors out with the message ``` Error: unable to determine if image already exists for image "node:12.6-buster-slim": Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? ``` Any suggestions ?
Author
Owner

@bigzoo commented on GitHub (May 3, 2020):

This is actually a problem with my docker installation, can't get systemctl and the process running correctly and not really related to act in any way.

<!-- gh-comment-id:623095987 --> @bigzoo commented on GitHub (May 3, 2020): This is actually a problem with my docker installation, can't get systemctl and the process running correctly and not really related to act in any way.
Author
Owner

@bigzoo commented on GitHub (Jun 2, 2020):

Update, I was able to fix act running on Ubuntu in Windows WSL by installing docker the wsl way

<!-- gh-comment-id:637646807 --> @bigzoo commented on GitHub (Jun 2, 2020): Update, I was able to fix act running on Ubuntu in Windows WSL by installing docker [the wsl way](https://docs.docker.com/docker-for-windows/wsl/)
Author
Owner

@fenilli commented on GitHub (Jun 7, 2020):

Make sure docker is running 😉

I think the documentation could have a requirements, as it states that it uses the Docker API, but it does not specify that you need an installation of Docker.

<!-- gh-comment-id:640276396 --> @fenilli commented on GitHub (Jun 7, 2020): > Make sure docker is running 😉 I think the documentation could have a requirements, as it states that it uses the Docker API, but it does not specify that you need an installation of Docker.
Author
Owner

@github-actions[bot] commented on GitHub (Aug 11, 2020):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:671653676 --> @github-actions[bot] commented on GitHub (Aug 11, 2020): Issue is stale and will be closed in 7 days unless there is new activity
Author
Owner

@Delta456 commented on GitHub (Nov 22, 2020):

Yes please else it will create a lot of confusions. @nektos-ci

<!-- gh-comment-id:731724047 --> @Delta456 commented on GitHub (Nov 22, 2020): Yes please else it will create a lot of confusions. @nektos-ci
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#119
No description provided.