Summary
In this chapter, we introduced the tool docker-compose
. This tool is mostly used to run and scale multi-service applications on a single Docker host. Typically, developers and CI servers work with single hosts and those two are the main users of Docker Compose. The tool is using YAML files as input that contain the description of the application in a declarative way.
The tool can also be used to build and push images among many other helpful tasks. The code accompanying this chapter can be found in labs/ch08
.
In the next chapter, we are going to introduce orchestrators. An orchestrator is an infrastructure software that is used to run and manage containerized applications in a cluster and it makes sure that these applications are in their desired state at all the time.