Act: Docker daemon is not running?

Created on 31 Mar 2020  ·  6Comments  ·  Source: nektos/act

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? 🤔

arecli kinbug metstale

Most helpful comment

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.

All 6 comments

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 ?

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.

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

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.

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

quisse picture quisse  ·  3Comments

kochetkovIT picture kochetkovIT  ·  4Comments

Applelo picture Applelo  ·  5Comments

jclem picture jclem  ·  6Comments

ovitente picture ovitente  ·  6Comments