Book Image

Docker Deep Dive - Second Edition

By : Nigel Poulton
5 (1)
Book Image

Docker Deep Dive - Second Edition

5 (1)
By: Nigel Poulton

Overview of this book

Most applications, even the funky cloud-native microservices ones, need high-performance, production-grade infrastructure to run on. Having impeccable knowledge of Docker will help you thrive in the modern cloud-first world. With this book, you will gain the skills you need in order to work with Docker and its containers. The book begins with an introduction to containers and explains their functionality and application in the real world. You will then get an overview of VMware, Kubernetes, and Docker and learn to install Docker on Windows, Mac, and Linux. Once you have understood the Ops and Dev perspective of Docker, you will be able to see the big picture and understand what Docker exactly does. The book then turns its attention to the more technical aspects, guiding you through practical exercises covering Docker engine, Docker images, and Docker containers. You will learn techniques for containerizing an app, deploying apps with Docker Compose, and managing cloud-native applications with Swarm. You will also build Docker networks and Docker overlay networks and handle applications that write persistent data. Finally, you will deploy apps with Docker stacks and secure your Docker environment. By the end of this book, you will be well-versed in Docker and containers and have developed the skills to create, deploy, and run applications on the cloud.
Table of Contents (2 chapters)

5: The Docker Engine

In this chapter, we’ll take a look under the hood of the Docker Engine.

You can use Docker without understanding any of the things we’ll cover in this chapter, so feel free to skip it. However, to be a real master of anything, you need to understand what’s going on under the hood. So, to be a real Docker master, you need to know the stuff in this chapter.

This will be a theory-based chapter with no hands-on exercises.

As this chapter is part of the technical section of the book, we’re going to employ the three-tiered approach where we split the chapter into three sections:

  • The TLDR: Two or three quick paragraphs that you can read while standing in line for a coffee
  • The deep dive: The really long bit where we get into the detail
  • The commands: A quick recap of the commands we learned

Let’s go and learn about the Docker Engine!

Docker Engine - The TLDR

The Docker engine is the core software that runs and manages containers...