https://docs.gitlab.com/runner/

https://docs.gitlab.com/runner/register/index.html#docker

# docker exec -it gitlab-runner gitlab-runner register
Running in system-mode.

Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
http://180.70.98.71:8929/
Please enter the gitlab-ci token for this runner:
icHGt8pM5zyYDdcJmVkx
Please enter the gitlab-ci description for this runner:
[8b94e1df6216]: order
Please enter the gitlab-ci tags for this runner (comma separated):
order
Whether to run untagged builds [true/false]:
[false]: true
Whether to lock the Runner to current project [true/false]:
[true]: true
Registering runner... succeeded runner=icHGt8pM
Please enter the executor: virtualbox, kubernetes, docker, shell, ssh, docker-ssh+machine, docker-ssh, parallels, docker+machine:
docker
Please enter the default Docker image (e.g. ruby:2.1):
alpine:latest
Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded!




  • No labels