Chapter 2. Docker at a Glance

Before you dive into configuring and installing Docker, a quick survey is in order to explain what Docker is and what it can bring to the table. It is a powerful technology, but not a tremendously complicated one. In this chapter, we’ll cover the generalities of how Docker works, what makes it powerful, and some of the reasons you might use it. If you’re reading this, you probably have your own reasons to use Docker, but it never hurts to augment your understanding before you dive in.

Don’t worry—this shouldn’t hold you up for too long. In the next chapter, we’ll dive right into getting Docker installed and running on your system.

Process Simplification

Docker can simplify both workflows and communication, and that usually starts with the deployment story. Traditionally, the cycle of getting an application to production often looks something like the following (illustrated in Figure 2-1):

  1. Application developers request resources from operations engineers.

  2. Resources are provisioned and handed over to developers.

  3. Developers script and tool their deployment.

  4. Operations engineers and developers tweak the deployment repeatedly.

  5. Additional application dependencies are discovered by developers.

  6. Operations engineers work to install the additional requirements.

  7. Loop over steps 5 and 6 N more times.

  8. The application is deployed.

A Non-Docker deployment workflow
Figure 2-1. ...

Get Docker: Up & Running now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.