In Chapter 5, we saw how to use Docker to facilitate better testing by using containers in our local development workflow and in a continuous integration environment. In this chapter, we’re going to explore using Docker to run production services.
We’re going to build a simple application first and then build some more complex multi-container applications. We’ll explore how to make use of Docker features like networking and volumes to combine and manage applications running in Docker.
The first application we’re going to build is an on-demand website using the Jekyll framework. We’re going to build two images: