-
Notifications
You must be signed in to change notification settings - Fork 321
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. #414
Comments
Same problem here running drone/drone:2.21.0 and drone/drone-runner-docker:1.8.3 with docker 24.0.7 on Alpine Linux v3.19. Did anybody find a solution to this? Or at least understood what the problem is? |
The timing of this indicates it is related to the OS upgrade (Alpine 3.18 -> 3.19). Also, I see that running a plain dind (docker-in-docker), it fails with some older images which are based on alpine 3.18 but work when they are based on 3.19. The only difference in the logs is this:
This somehow points to some issues with iptables. Obviously the host didn't change, it's available in both cases. I noticed though that there is a difference in the iptables versions in both images:
Maybe this helps somebody to fully understand the reason. In any case, #418 fixes the issue for me. |
There's a problem with the pugins/gar but when I use plugins/gcr it worked fine. Here's the log while using plugins/gcr :
And this one when I used plugins/gar :
this is the yaml file :
I am running the drone server and runner on kubernetes using helm chart |
As a temporary solution you can rollback to tag |
|
one year later... this bug still exists. After hours of trial, I have to say, I have a bad first experience with drone |
Hey,
since a few days ago i get the following error when using this plugin to build docker images itself.
I am running in the latest Alpine Linux host (
Linux build 6.5.8-0-edge #1-Alpine SMP PREEMPT_DYNAMIC Fri, 20 Oct 2023 10:41:43 +0000 x86_64 Linux
). I also verified that docker is running and the socket is available in the requestested location/var/run/docker.sock
.The used drone configuration:
What went wrong here? Does soneone has an idea when this bug was introduced?
Thanks
The text was updated successfully, but these errors were encountered: