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
- Host: GitHub
- URL: https://github.com/dannyben/dcind
- Owner: DannyBen
- Created: 2019-02-28T21:06:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-17T16:40:25.000Z (over 7 years ago)
- Last Synced: 2025-02-02T03:43:12.161Z (over 1 year ago)
- Topics: docker, docker-compose, docker-compose-template
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```