From 09b542320d3797ff6b966dff1020a3dc3a605829 Mon Sep 17 00:00:00 2001 From: Bassem Dghaidi <568794+Link-@users.noreply.github.com> Date: Sat, 20 Jan 2024 20:12:31 +0000 Subject: [PATCH] Revert docker socket path to /var/run/docker.sock --- charts/gha-runner-scale-set/templates/_helpers.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/gha-runner-scale-set/templates/_helpers.tpl b/charts/gha-runner-scale-set/templates/_helpers.tpl index 764d923f..be0bd0fc 100644 --- a/charts/gha-runner-scale-set/templates/_helpers.tpl +++ b/charts/gha-runner-scale-set/templates/_helpers.tpl @@ -99,7 +99,7 @@ volumeMounts: image: docker:dind args: - dockerd - - --host=unix:///run/docker/docker.sock + - --host=unix:///var/run/docker.sock - --group=$(DOCKER_GROUP_GID) env: - name: DOCKER_GROUP_GID @@ -110,7 +110,7 @@ volumeMounts: - name: work mountPath: /home/runner/_work - name: dind-sock - mountPath: /run/docker + mountPath: /var/run - name: dind-externals mountPath: /home/runner/externals {{- end }} @@ -223,7 +223,7 @@ env: {{- end }} {{- if $setDockerHost }} - name: DOCKER_HOST - value: unix:///run/docker/docker.sock + value: unix:///var/run/docker.sock {{- end }} {{- if $setRunnerWaitDocker }} - name: RUNNER_WAIT_FOR_DOCKER_IN_SECONDS @@ -264,7 +264,7 @@ volumeMounts: {{- end }} {{- if $mountDindCert }} - name: dind-sock - mountPath: /run/docker + mountPath: /var/run readOnly: true {{- end }} {{- if $mountGitHubServerTLS }}