Docker register gitlib-ci

2026 단어
Docker register gitlib-ci
Docker
To register a Runner using a Docker container:
  • Run the following command:
    docker exec -it gitlab-runner gitlab-runner register
    
  • Enter your GitLab instance URL:
    Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com )
    https://gitlab.com
    
  • Enter the token you obtained to register the Runner:
    Please enter the gitlab-ci token for this runner
    xxx
    
  • Enter a description for the Runner, you can change this later in GitLab's UI:
    Please enter the gitlab-ci description for this runner
    [hostame] my-runner
    
  • Enter the [tags associated with the Runner][tags], you can change this later in GitLab's UI:
    Please enter the gitlab-ci tags for this runner (comma separated):
    my-tag,another-tag
    
  • Choose whether the Runner should pick up jobs that do not [have tags][tags], you can change this later in GitLab's UI (defaults to false):
  •     Whether to run untagged jobs [true/false]:  
        [false]: true
    
  • Choose whether to lock the Runner to the current project, you can change this later in GitLab's UI. Useful when the Runner is specific (defaults to false):
  • Whether to lock Runner to current project [true/false]:
        [false]: false
        ```
    
    1. Enter the [Runner executor](../executors/README.md):
    
    Please enter the executor: ssh, docker+machine, docker-ssh+machine, kubernetes, docker, parallels, virtualbox, docker-ssh, shell:
    docker
    ```
    
  • If you chose Docker as your executor, you'll be asked for the default image to be used for projects that do not define one in .gitlab-ci.yml :
  •     Please enter the Docker image (eg. ruby:2.1):
        alpine:latest
        ```
    
    [tags]: https://docs.gitlab.com/ce/ci/runners/#using-tags

    좋은 웹페이지 즐겨찾기