<p>I want to run the code quality widget in our repo. Actually i want to register an gitlab runner on my kubernetes cluster to execute docker builds. I am trying to install the gitlab runner via Kubernetes Helm Charts.</p>
<p>this is my helm chart: `</p>
<pre><code>gitlabUrl: https://blabla/


runnerRegistrationToken: blabla

runners:
  config: |
    [[runners]]
      [runners.docker]
        tls_verify = false
        image = &quot;docker:stable&quot;
        privileged = false
        disable_entrypoint_overwrite = false
        oom_kill_disable = false
        disable_cache = false
        volumes = [&quot;/cache&quot;, &quot;/var/run/docker.sock:/var/run/docker.sock&quot;, &quot;/tmp/builds:/tmp/builds&quot;]
        shm_size = 0
            [runners.cache]
              Type = &quot;s3&quot;
              Path = &quot;runner&quot;
              Shared = true
              [runners.cache.s3]
                ServerAddress = &quot;s3.amazonaws.com&quot;
                BucketName = &quot;blabla&quot;
                BucketLocation = &quot;us-west-1&quot;
                Insecure = false

imagePullPolicy: IfNotPresent
</code></pre>
<p>unfortunately this does not work. i get the output <em>Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?</em></p>
<p>Can anyone please help with the correct configuration for this problem?</p>
<p>my sources are:</p>
<p><a href="https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html#set-up-a-private-runner-for-code-quality-without-docker-in-docker" rel="nofollow noreferrer">https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html#set-up-a-private-runner-for-code-quality-without-docker-in-docker</a></p>
<p><a href="https://docs.gitlab.com/runner/install/kubernetes.html" rel="nofollow noreferrer">https://docs.gitlab.com/runner/install/kubernetes.html</a></p>
<p><a href="https://gitlab.com/gitlab-org/charts/gitlab-runner/blob/master/values.yaml" rel="nofollow noreferrer">https://gitlab.com/gitlab-org/charts/gitlab-runner/blob/master/values.yaml</a></p>
<p>Thanks in advance. You are my last hope</p>

ve05ribu
<p>docker daemon error can be resolved by using the following code:</p>
<pre><code>privileged = true
</code></pre>
