Home > Software engineering >  Gitlab - pipeline always fail when try to deploy in docker
Gitlab - pipeline always fail when try to deploy in docker

Time:10-23

When I deploy my pipeline always faile with this error, but when i retry the job the deploy pass.

This could be a error in the instances when try to download the image?

Command exited with status 1.
(no stdout)
=== stderr ===
Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?
-  ---  -  ---  -  ---  -  ---  -  ---  -  ---  ----  -  ---  -  -

CodePudding user response:

I think it's the shared runners' fault try checking this issue on gitlab

CodePudding user response:

Thanks for asking the questions. Please provide the docker permission to your gitlab-runner user

sudo usermod -aG docker gitlab-runner
  • Related