Skip to content
This repository was archived by the owner on Aug 10, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions dockerfiles/dind/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
`gitlab/dind` is image that should be used to build projects with docker-based workflow.
The image runs `Docker Engine` and includes `Docker Compose` which allows to use full `docker` toolkit from build script.
[![](https://images.microbadger.com/badges/image/gitlab/dind.svg)](http://microbadger.com/images/gitlab/dind "Get your own image badge on microbadger.com")

The `gitlab/dind` image can be used in place of `docker:dind` to build projects with docker-based workflow.

For example you can [register a gitlab-ci-multi-runner](http://docs.gitlab.com/ce/ci/docker/using_docker_build.html#use-docker-in-docker-executor) as Docker-in-Docker using this image like:

sudo gitlab-ci-multi-runner register -n \
--url https://gitlab.com/ci \
--registration-token REGISTRATION_TOKEN \
--executor docker \
--description "My Docker Runner" \
--docker-image "gitlab/dind:latest" \
--docker-privileged

It contains:

- The `docker` working as Docker-in-Docker similar to the official [docker:dind](https://hub.docker.com/_/docker/)
- [`docker-compose`](https://docs.docker.com/compose/) (currently not in `docker:dind`).