This blog post discusses functionality that will be available in our upcoming https://docs.docker.com/desktop/release-notes/. Doing so is even harder when your application is not a single container but a combination of many containers with various dependency relationships.

In this article, we’ll show how the https://docs.docker.com/compose/multiple-compose-files/include/, introduced in Docker Compose 2.20, makes Compose files more modular and reusable.

Let’s play the role of the “database” team and define a Compose file for the service we are responsible for.

In this example, an infrastructure team has prepared a Compose file to manage a database service, maybe including some replicas, web UI to inspect data, isolated networks, volumes for data persistence, etc.

Related Articles