https://github.com/splattael/dind-example
Docker in docker example
https://github.com/splattael/dind-example
dind docker docker-compose examples
Last synced: about 1 year ago
JSON representation
Docker in docker example
- Host: GitHub
- URL: https://github.com/splattael/dind-example
- Owner: splattael
- Created: 2016-05-24T20:21:16.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-24T20:23:56.000Z (about 10 years ago)
- Last Synced: 2025-03-30T07:11:12.511Z (about 1 year ago)
- Topics: dind, docker, docker-compose, examples
- Size: 0 Bytes
- Stars: 9
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker in docker (dind) example
Just run:
```
docker-compose up
```
## What happened?
Docker compose starts a docker engine inside a docker (dind).
Other services (`node1`, `node2`) can use this docker engine in isolation
by setting the environment variable `DOCKER_HOST` pointing to linked
(and *insecure* -> port 2375) docker service `docker-in-docker`.
Note that the output of each node shows nothing which means that the linked
docker engine is actually running in isolation.