Register the Runner to the main GitLab instance.
On the main GitLab instance, navigate to the Admin → CI/CD → Runners and select New Instance Runner
Define at least one tag on the new runner. Create the runner.
On the second page, in Step 1, use the gitlab-runner
command to add the Runner to your GitLab instance.
gitlab-runner register --url https://gitlab.example.com --token *****************
Decide on an executor, I'm using Docker
Enter an executor: shell, virtualbox, docker, docker+machine, instance, custom, ssh, parallels, docker-windows, kubernetes, docker-autoscaler:
docker
Select a default image
Enter the default Docker image (for example, ruby:2.7):
php:8.3
After the wizard has run, you should be able to check the Runner's status with systemd
systemctl status gitlab-runner.service