ERROR: Preparation failed: adding cache volume: set volume permissions: running permission container
Hello,
I am new to Gitlab CI/CD. I have configured the Runner with Docker executor.
I am using gitlab-runner 14.10.0.
When I am trying to run job then first 3-4 times runner executes job successfully. But after that it is taking too much time to execute job and it is giving below error.
"ERROR: Preparation failed: adding cache volume: set volume permissions: running permission container "a4860c1ba274f310f767dfd76eb7e4a0ab11f5e40aa7c35b72d8e25cb457da70" for volume "runner-y6xzxkja-project-2-concurrent-0-cache-3c3f060a0374fc8bc39395164f415a70": starting permission container: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (linux_set.go:105:854s)".
Please see attached image of error.
Workaround
This appears to be an issue with the Ubuntu cloud images. Using an older image appears to avoid this.