Estou tentando prosseguir com o treinamento, porém ao realizar um Commit ocorre o erro a seguir.... estou há dias pesquisando e tentando solucionar, mas não consegui. O meu cenário é: GitLab instalado no servidor e docker (runner) rodando local na minha estação através do Docker Desktop.
Running with gitlab-runner 14.4.0 (4b9e985a)
on Runner de Christiano Pipeline Docker SaPMsbs4
Preparing the "docker" executor
Using Docker executor with image docker:19.03.12 ...
Starting service docker:19.03.12-dind ...
Pulling docker image docker:19.03.12-dind ...
Using docker image sha256:66d...92f4348fb3d5402a4...f6bd2 for docker:19.03.12-dind with digest docker@sha256:67...ff75304d01...647ff75304d71 ...
Waiting for services to be up and running...
*** WARNING: Service runner-sapmsbs4-project-286-concurrent-0-de2e99...7b-docker-0 probably didn't start properly.
Health check error:
service "runner-sapmsbs4-project-286-concurrent-0-de2e99...7b-docker-0-wait-for-service" timeout
Health check container logs:
Service container logs:
2021-11-18T23:03:54.374955000Z Generating RSA private key, 4096 bit long modulus (2 primes)
2021-11-18T23:03:54.480137400Z ........................++++
2021-11-18T23:03:54.604760300Z .............................++++
2021-11-18T23:03:54.605323800Z e is 65537 (0x010001)
2021-11-18T23:03:54.655539400Z Generating RSA private key, 4096 bit long modulus (2 primes)
2021-11-18T23:03:55.826092300Z ............................................................................................................................................................................................................................................................................................++++
2021-11-18T23:03:56.263000800Z ........................................................................................................++++
2021-11-18T23:03:56.263555800Z e is 65537 (0x010001)
2021-11-18T23:03:56.378945000Z Signature ok
2021-11-18T23:03:56.378968800Z subject=CN = docker:dind server
2021-11-18T23:03:56.379295000Z Getting CA Private Key
2021-11-18T23:03:56.391585700Z /certs/server/cert.pem: OK
2021-11-18T23:03:56.395334900Z Generating RSA private key, 4096 bit long modulus (2 primes)
2021-11-18T23:03:56.428994900Z .......++++
2021-11-18T23:03:56.465597500Z ........++++
2021-11-18T23:03:56.466246600Z e is 65537 (0x010001)
2021-11-18T23:03:56.506595200Z Signature ok
2021-11-18T23:03:56.506630800Z subject=CN = docker:dind client
2021-11-18T23:03:56.506789900Z Getting CA Private Key
2021-11-18T23:03:56.533322200Z /certs/client/cert.pem: OK
2021-11-18T23:03:56.538121400Z mount: permission denied (are you root?)
*********
Pulling docker image docker:19.03.12 ...
Using docker image sha256:8...cde1a110b85c for docker:19.03.12 with digest docker@sha256:...b3ce135 ...
Preparing environment
Running on runner-sapmsbs4-project-286-concurrent-0 via 434...
Getting source from Git repository
Fetching changes with git depth set to 50...
Initialized empty Git repository in /builds/sistemas/sgce/.git/
Created fresh repository.
Checking out 043...0 as main...
Skipping Git submodules setup
Executing "step_script" stage of the job script
Using docker image sha256:8...a110b85c for docker:19.03.12 with digest docker@sha256:... 562b3ce135 ...
$ docker info
errors pretty printing info
Client:
Debug Mode: false
Server:
ERROR: Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?
ERROR: Job failed: exit code 1
Obrigado a quem puder ajudar!