Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
mkdir -p $GITLAB_RUNNER_HOME/config/certs
cp gitlab.example.com.crt $GITLAB_RUNNER_HOME/config/certs

Container 생성

Code Block
docker run -d --name gitlab-runner --restart always \
  --network host \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v /srv/gitlab-runner/config:/etc/gitlab-runner \
  -v /srv/gitlab-runner/certs$GITLAB_RUNNER_HOME/config:/etc/gitlab-runner/certs \
  gitlab/gitlab-runner:latest

...