-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
on macOS while docker commands are working
#1658
Comments
Error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
on macOS while docker command are workingError: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
on macOS while docker commands are working
I don't think this is necessarily an act specific problem, but I've got around this by doing the following:
This isn't guaranteed to fix your problem long-term. However it looks like an upgrade to a |
That worked, thanks! |
Thank you @culshaw. |
I got into the problem too. I use ubuntu, how can I solve it? |
So do I (fedora) |
I also have this failure on Ubuntu-22.04:
The user running this is added to the |
Original issue was regarding Docker on macOS, if you have similar problem on non macOS platform, create new issue and attach required info. |
See #1744 |
Why was this closed? Last time I tested I still had the issue. I can use the work around, but for some reason I have to do that on every boot. |
Using rancher desktop and getting the same issue. Solution was similar to @LenaWil suggestion: |
I've docker desktop on my Fedora, so I do |
I'm using sudo ln -s ~/.colima/default/docker.sock /var/run/docker.sock |
I can not run build docker images on my local worflows anymore. Inside the workflow I was not able to connect to the I'm little dissapointed dact stoped working, I have no clue how to fix it. I know the issue is related to a docker change and mac OS update. |
solved the issue on my machine 🥹 #2239 (comment) |
For those still having the issue. Check the following
|
Bug report info
Command used with act
Describe issue
I expected it to not print
Error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
, because commands likedocker ps
do work:Link to GitHub repository
LenaWil/Squire@d038cc0
Workflow content
Relevant log output
Additional information
(On a repo with GitHub workflow actions, this one: LenaWil/Squire@d038cc0 )
There are more workflows, and looking at the debug log it might run some of them? But without verbose mode it prints two error messages.
The text was updated successfully, but these errors were encountered: