Docker-outside-of-Docker (DooD)¶
The Docker-outside-of-Docker (DooD) development pattern is an approach where a Docker daemon running on a host machine (or a CI server) is mounted into a container, allowing the container to control the host's Docker daemon. This contrasts with [[Docker-in-Docker]] (DinD), where a nested, isolated Docker daemon runs inside the container itself.^[400-devops__04-CI-CD-Pipelines__devops-cd__monitoring__README.md]
This pattern is frequently utilized in development and CI/CD environments to simplify the build process.^[400-devops__04-CI-CD-Pipelines__devops-cd__monitoring__README.md] A common command used to observe logs from a service (such as fluentd) configured in this pattern is docker-compose logs -f fluentd.^[400-devops__04-CI-CD-Pipelines__devops-cd__monitoring__README.md]
Related Concepts¶
- [[Docker-in-Docker]]
- CI/CD Pipeline
Sources¶
^[400-devops__04-CI-CD-Pipelines__devops-cd__monitoring__README.md]