Skip to content

Installing and Registering GitLab Runners

GitLab Runners pick up pipeline jobs and run them in the configured environment.

  1. Choose a host machine for the runner.
  2. Install the runner using your package manager or binary, for example on Debian/Ubuntu:
    Terminal window
    sudo apt-get install gitlab-runner
  3. Ensure the service is running: sudo gitlab-runner start.
  1. Obtain the registration token from Settings > CI/CD > Runners.
  2. Run gitlab-runner register and provide:
    • GitLab URL
    • Registration token
    • Description and tags
    • Executor (e.g., shell, docker)
  3. The runner will appear in your project once registration completes.
  • Use tags to control which jobs a runner can execute.

  • Prefer specific runners for sensitive or resource-intensive jobs.

  • For autoscaling, consider Docker Machine or Kubernetes executors.