Docker in Docker Ubuntu container for Concourse CI
1M+
IMPORTANT Following the v2.0.0 release, the images will be only be maintained and released under
ghcr.io/ramizpolic/concourse-dind. Check the GitHub repo for details. Dockerhub image will be preserved for compatibility, but it will not be maintained.
Docker in Docker Ubuntu container for Concourse CI. Optimized for use with Concourse CI.
Ubuntu image published at fhivemind/concourse-dind, which includes Docker, Docker Compose, and Docker Squash.
DOCKERD_TIMEOUT) on dockerd start to account for misconfiguration (docker log will be output).DOCKER_OPTS environment variable.--garden-mtu from the parent Gardian container if --mtu is not specified in DOCKER_OPTS.--data-root /scratch/docker to bypass the graph filesystem if --data-root is not specified in DOCKER_OPTS.The image is available on DockerHub, but if you would like to build locally, clone and run
docker run fhivemind/concourse-dind
Here is an example of a Concourse job that uses fhivemind/concourse-dind image to run a several containers in a task, and then runs the integration test suite.
jobs:
- name: integration
plan:
- get: code
params:
depth: 1
passed:
- unit-tests
trigger: true
- task: integration-tests
privileged: true
config:
platform: linux
image_resource:
type: docker-image
source:
repository: fhivemind/concourse-dind
inputs:
- name: code
run:
path: entrypoint.sh
args:
- bash
- -ceux
- |
docker-compose -f code/example/integration.yml run tests
docker-compose -f code/example/integration.yml down
docker volume rm $(docker volume ls -q)
docker pull fhivemind/concourse-dind:latest