Specific Runners

Registering the Runner

< >

5.6. Register the Runner

  1. Platform: You must choose the Platform to register the runner (Linux, MacOS, Windows, Docker, or Kubernetes).
  2. Step 1: Copy and paste the command that GitLab provides into your command line to register the runner.
gitlab-runner register

Follow the prompts in the command line:

  • Enter your GitLab instance URL (e.g., https://gitlab.com/) .
  • Enter the registration token from your project settings.
  • Enter a description for the runner (e.g., My Project Runner).
  • Enter tags (optional, e.g., docker, linux).
  • Enter the executor (e.g., docker, shell).
Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/): 
[https://gitlab.com/]: 
Please enter the gitlab-ci token for this runner: 
[xxxxxxx]: 
Please enter the gitlab-ci description for this runner: 
[My Project Runner]: 
Please enter the gitlab-ci tags for this runner (comma separated): 
[docker, linux]: 
Please enter the executor: [docker, shell, ssh, docker+machine, kubernetes, custom, parallels, virtualbox, docker-ssh, docker-ssh+machine]: 
[docker]: