From the course: Learning Docker Compose

Unlock the full course today

Join today to access over 24,600 courses taught by industry experts.

Named subsets of services

Named subsets of services - Docker Tutorial

From the course: Learning Docker Compose

Named subsets of services

- [Narrator] Docker Compose provides a utility to start named subsets of services inside a single Docker Compose YAML file. This feature can be really helpful for a number of use cases. Especially in a larger organization, it's fairly common to see clusters of Docker containers that are frequently run together, but don't necessarily explicitly depend on each other. Imagine our example corporation Kinetico has recently divided its engineering teams. One group is responsible for the storefront and all of the services that support purchasing. A second group is responsible for the scheduling experience and all of the services supporting installation. To save processing power, the storefront development group does not want the scheduler containers running on their local machines. And the scheduling group does not want the storefront containers running. You wouldn't necessarily want separate Docker Compose files for this…

Contents