11 lines
438 B
Markdown
11 lines
438 B
Markdown
|
# gitlab runner
|
||
|
|
||
|
command used to register new runner
|
||
|
|
||
|
```shell script
|
||
|
$ docker run -d --name gitlab-runner --restart always -v /var/run/docker.sock:/var/run/docker.sock -v gitlab-runner-config:/etc/gitlab-runner gitlab/gitlab-runner:latest
|
||
|
|
||
|
$ gitlab-runner register -non-interactive --description "manualy registered gitlab runner" --url "http://172.17.0.1
|
||
|
:8080/" --registration-token "registration_token" --tag-list "docker,manual"
|
||
|
```
|