Hello all,

I am trying to get a docker-executor based runner to run multiple CI/CD 
jobs in parallel (either same project or shared among multiple projects), 
and I'm running into an issue where the second job is not able to start 
after the first one has started, and is failing with the following message:

Using Docker executor with image docker:latest ...
Starting service docker:dind ...
Pulling docker image docker:dind ...
Using docker image docker:dind 
ID=sha256:4a2625517421ec21f13a0c31683ab1cc6ac259974be47ba7f2f86cb0c7a9a714 
for docker service...
ERROR: Preparation failed: Cannot connect to the Docker daemon at 
unix:///var/run/docker.sock. Is the docker daemon running?

I am using the 'docker-in-docker' as a service so I can have access to the 
'docker' command in my job.  I have 'concurrency' set to 4 in my 
config.toml:

concurrent = 4
check_interval = 0

[[runners]]
  name = "Gitlab Runner 01"
  url = "https://gitlab.example.org/";
  token = "1234567890abcdef1234567890"
  executor = "docker"
  [runners.docker]
    tls_verify = false
    image = "docker:latest"
    privileged = true
    disable_cache = false
    volumes = ["/cache"]
    shm_size = 0
  [runners.cache]

Is there some limitation on how many simultaneous 'docker' commands can be 
running at once?  Or, is my runner incorrectly configured?

Appreciate any help in advance.

treyd

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/2c2eaf08-d7d2-4c84-9eb7-e6a928cbb478%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to