mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #168] Unhelpful error message when Docker is not running #110
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MaxDesiatov on GitHub (Mar 21, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/168
On macOS, when Docker is not running the error message doesn't say anything about the status of the Docker daemon. With the latest version of
actinstalled via Homebrew the error message is:The action runs normally when Docker is running, it took some time to diagnose this though. I would expect the error message to mention that the connection to the Docker daemon was not established, with a suggestion to start or to install it with a link to Docker installation instructions appropriate for the platform.
@jarektkaczyk commented on GitHub (Mar 22, 2020):
2nd that, just got here with the same symptoms
thanks @MaxDesiatov for posting, helped me resolve mine quickly
@jbeveland27 commented on GitHub (Mar 23, 2020):
Same experience here. Additionally, I think it might be helpful to indicate in the README that Docker is both required to be installed locally and running for this to work.
Thanks to @MaxDesiatov for posting!
@chrisluedtke commented on GitHub (Mar 26, 2020):
Not macOS, but I also saw this message and I needed to
sudo act.Installed via:
Other details:
@AdrianoCahete commented on GitHub (Mar 30, 2020):
Same on Windows 10.
@neilswinton commented on GitHub (Apr 15, 2020):
I'm seeing this while running inside in a container. In my container, docker is exposed using TCP port 2375. The code seems to look for /var/run/docker.sock even when DOCKER_HOST=host.docker.internal:2375. Since there's no /var/run/docker.sock the listing of images fails along with all other access to docker. Docker commands succeed because they honor DOCKER_HOST. I realize this is not a mainstream issue...
@cplee commented on GitHub (Apr 23, 2020):
fixed by
github.com/nektos/act@6c4e7b9fde@kiptoomm commented on GitHub (Aug 16, 2020):
For anyone like me who was still getting this error message, ensure docker is installed and running