https://github.com/jasongrace2282/docker-compose-dind
Examples for using Docker-in-Docker from docker compose
https://github.com/jasongrace2282/docker-compose-dind
dind docker docker-compose docker-in-docker
Last synced: about 2 months ago
JSON representation
Examples for using Docker-in-Docker from docker compose
- Host: GitHub
- URL: https://github.com/jasongrace2282/docker-compose-dind
- Owner: JasonGrace2282
- Created: 2024-12-14T17:37:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-25T01:43:41.000Z (over 1 year ago)
- Last Synced: 2025-05-15T06:11:46.965Z (about 1 year ago)
- Topics: dind, docker, docker-compose, docker-in-docker
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Compose + Docker-in-Docker
Docker in Docker (DinD for short) is a technique that allows creating
and running docker containers inside of a docker container. This
repository shows some example configurations of how to use DinD
with Docker Compose.
> [!WARNING]
> These examples are intended for development only. If you intend to use it in production, consider
> taking other precautions like using a runtime like [sysbox](https://github.com/nestybox/sysbox),
> forcing `traefik` to use a `GET`-only docker socket proxy, and other
> precautions not listed
## Table of Contents
- `basic-example/`: a basic example of a client service needing the docker-in-docker service.
- `nginx-example/`: an example of running an nginx server within docker-in-docker
- `traefik-swarm/`: an example of how to use traefik to route requests into swarm services running inside docker-in-docker. (Not working yet)