Docker-In-Docker is an image that allows executing docker commands from inside a docker container.
The main differences from the official one are:
This image might come in handy in complex docker compose environments where a dedicated docker container needs to manage the other containers. The container can connect to the dind container through SSH and and execute docker commands.
The Dockerfile can be found on GitHub
export MSYS_NO_PATHCONV=1
mkdir example
cd example
docker-compose.yml:curl -LO https://raw.githubusercontent.com/neshkeev/containers/master/dind/example/docker-compose.yml
docker compose up -d
hello-world services from the dind container:docker compose exec -it dind docker run hello-world
dind container:docker compose exec -it dind docker compose -f /root/example/docker-compose.yml ps
docker compose exec -it dind ssh root@localhost 'docker compose -f /root/example/docker-compose.yml ps'
Solution: remove the container and start it again
Content type
Image
Digest
sha256:d130cc00d…
Size
137.1 MB
Last updated
over 2 years ago
docker pull neshkeev/dind