Registering GITLAB-Runners

1. #sudo gitlab-runner register
After run this command enter below information
2. Please enter the gitlab-ci coordinator URL (e.g. ) https://gitlab.com3. Please enter the gitlab-ci token for this runner
4. Please enter the gitlab-ci description for this runner [hostname] my-runner5. Please enter the gitlab-ci tags for this runner (comma separated): my-tag,another-tag6. Please enter the executor (Choose shell): ssh, docker+machine, docker-ssh+machine, kubernetes, docker, parallels, virtualbox, docker-ssh, shell:
7. Check on Gitlab GUI under : Gitlab UI -> Project or group -> settings -> CI/CD -> Runners
IF choose docker executor then use alpine:latest image.

One line Registration command with docker excecutor:
docker run --rm -v /srv/gitlab-runner/config:/etc/gitlab-runner gitlab/gitlab-runner register --non-interactive --executor “docker” --docker-image alpine:latest --url “" --tls-ca-file “/etc/gitlab-runner/certs/ca.crt -n” --registration-token “XXXXXXX” --description “docker-runner-MYFIRST-RUNNER” --tag-list “docker” --run-untagged=”true” --locked=”false” --access-level=”not_protected” --docker-privileged



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store