Gitlab-runner issue using docker on debian 10

Hello everyone,

I’m setting up a gitlab server. Now i want to set up the CI/CD but i have some issues when i install gitlab-runner using docker (my gitlab is on docker too).
It says that : gitlab-runner: the service is not installed when i type the following command: gitlab-runner status. I already try to reinstall it using the command : gitlab-runner install [name of the user] and restart gitlab-runner but it didn’t work at all.
Then i search on the web but didn’t find nothing the handle this problem

Moreover when i want to register my gitlab depository it says connection reset by peer when i use my ip address and EOF when i use it with the port. I already search on the web if there is a way to solve this problem but i found nothing.

So, I want to know if there is somebody to handle this problem

Thank you all for taking the time to respond at my request, it really helps! :blush:

Orcadia

@Orcadia

If the GitLab runner runs in the container, you need attach to the container’s shell and execute it there. It is all described in the official guide Run GitLab Runner in a container | GitLab.

@balonik

Thank you for your help.