An open API service indexing awesome lists of open source software.

https://github.com/dannyben/dcind

Docker Compose in Docker
https://github.com/dannyben/dcind

docker docker-compose docker-compose-template

Last synced: about 2 months ago
JSON representation

Docker Compose in Docker

Awesome Lists containing this project

README

          

Docker Compose in Docker (dcind)
==================================================

This is a minimal demonstration for executing docker and docker-compose from
within a docker container to launch sibling containers.

Usage
--------------------------------------------------

### 1. Build

```
$ docker-compose build
```

### 2. Run

Start a container that has docker-compose installed in it, which will run
a [second docker-compose file](app/docker-compose.yml), which uses two
containers: a redis server, and a second container that will ping that
redis server.

```
$ docker-compose run test
# ...
# PONG
```