O'Reilly logo

The Docker Book by James Turnbull

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6 Building services with Docker

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.

6.1 Building our first application

The first application we’re going to build is an on-demand website using the Jekyll framework. We’re going to build two images:

  • An image that both installs Jekyll and the prerequisites we’ll need ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required