Chapter 6: Deploying Applications with Docker Compose
The simplest possible practical deployment scenario of an application packaged with Docker involves running Docker Compose on a single host. Many of the commands that you use as a developer, such as docker-compose up -d
, also apply to deploying Docker applications on a single host.
Running Docker applications on a single host is easier to understand than running them using one of the more complex container orchestration systems because many of the same techniques you might use to run a non-Docker application apply; however, it has some significant drawbacks in terms of performance and availability.
In this chapter, you will discover why this is the simplest practical option, learn how to configure Docker for production on a single host, and master some techniques for managing and monitoring a simple setup efficiently. Furthermore, you will better understand the drawbacks of running Docker on a single host, including the...