Gitlab Continuous Integration image for running docker (NO LONGER MAINTAINED)
3.0K
This image allow to run Docker commands inside a container. This is not a Docker-in-Docker image. It is usefull within a Continuous Integration (CI) system which is itself a container. In Gitlab CI, this allows you to build and test docker based projects.
When your CI container will create more containers, those containers will be created in the top level Docker.
The machine and compose tools are installed in this image so that they can be used during CI build and deployment.
To create this image, execute the following command in the gitlab-ci-docker folder.
docker build -t cburki/gitlab-ci-docker .
When running the image, just expose the Docker socket and Docker Engine binary to your CI container.
docker run \
--name gitlab-ci-docker \
--rm \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /usr/bin/docker:/usr/bin/docker \
-i \
-t \
cburki/gitlab-ci-docker:latest \
/bin/bash
Content type
Image
Digest
sha256:a0cf609a7…
Size
128.1 MB
Last updated
over 10 years ago
docker pull cburki/gitlab-ci-docker