Sign inSign up

sushifu/gitlab-dind-runner

By sushifu

•Updated over 9 years ago

A Gitlab-multi-runner running inside Docker In Docker container.

Image
0

345

sushifu/gitlab-dind-runner repository overview

⁠Gitlab-multi-runner inside Docker in Docker

⁠Description

This image run a gitlab-multi-runner instance inside a Docker in Docker. When a build is triggered from Gitlab, the build context is separate from real Docker host. This prevents unwanted operations on Docker host like remove containers.

⁠Prerequisites

This image need to run with privileged.

⁠How to use
  • Get docker-compose.yml:
$ wget https://raw.githubusercontent.com/SushiFu/gitlab-dind-runner/master/docker-compose.yml
  • Start container with docker-compose:
$ docker-compose up -d
  • Configure a runner with:
$ docker exec -it <CONTAINER_NAME> gitlab-runner register
⁠LICENSE

MIT

Tag summary

Content type

Image

Digest

Size

71.6 MB

Last updated

over 9 years ago

docker pull sushifu/gitlab-dind-runner