Cannot connect to docker sock in K8S with DIND sidecar #3149
Unanswered
ccincotti3
asked this question in
Questions
Replies: 1 comment 1 reply
-
Ah OK of course -- I may need to instead use a shared volume between the pods, since the worker that gets spun up needs docker as well. Let me rethink this. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi y'all,
This is my first time setting up self hosted runners. I've been trying to run docker and build an image to push to ECR using GitHub actions, the ARC, and Kubernetes. I've done quite a bit of searching guides, docs here, etc... I keep receiving:
I've exec'd into the main runner pod and I can connect OK via the command
docker ps
. I believe this to be the case as it seems that volume with the dind sock is mounted to this pod. However, when the workflow pods are kicked off, I believe these pods do not have access to the side car, as I do not see that the dind volume is being mounted to those pods. Does this make sense? Is there a configuration that I'm missing?Here's my Helm chart, it seems pretty basic:
Beta Was this translation helpful? Give feedback.
All reactions