Book Image

Mastering Docker - Third Edition

By : Russ McKendrick, Scott Gallagher
Book Image

Mastering Docker - Third Edition

By: Russ McKendrick, Scott Gallagher

Overview of this book

Docker has been a game-changer when it comes to how modern applications are deployed and created. It has now grown into a key driver of innovation beyond system administration, with an impact on the world of web development. But how can you make sure you're keeping up with the innovations it's driving, or be sure you're using it to its full potential? Mastering Docker shows you how; this book not only demonstrates how to use Docker more effectively, but also helps you rethink and reimagine what's possible with it. You will cover concepts such as building, managing, and storing images, along with best practices to make you confident, before delving more into Docker security. You'll find everything related to extending and integrating Docker in new and innovative ways. Docker Compose, Docker Swarm, and Kubernetes will help you take control of your containers in an efficient manner. By the end of the book, you will have a broad, yet detailed, sense of what's possible with Docker, and how seamlessly it fits in with a range of other platforms and tools.
Table of Contents (17 chapters)

What this book covers

Chapter 1, Docker Overview, discusses where Docker came from, and what it means to developers, operators, and enterprises.

Chapter 2, Building Container Images, looks at the various ways in which you can build your own container images.

Chapter 3, Storing and Distributing Images, looks at how we can share and distribute images, now that we know how to build them.

Chapter 4, Managing Containers, takes a deep dive into learning how to manage containers.

Chapter 5, Docker Compose, looks at Docker Compose—a tool that allows us to share applications comprising multiple containers.

Chapter 6, Windows Containers, explains that, traditionally, containers have been a Linux-based tool. Working with Docker, Microsoft has now introduced Windows containers. In this chapter, we will look at the differences between the two types of containers.

Chapter 7, Docker Machine, looks at Docker Machine, a tool that allows you to launch and manage Docker hosts on various platforms.

Chapter 8, Docker Swarm, discusses that we have been targeting single Docker hosts until this point. Docker Swarm is a clustering technology by Docker that allows you to run your containers across multiple hosts.

Chapter 9, Docker and Kubernetes, takes a look at Kubernetes. Like Docker Swarm, you can use Kubernetes to create and manage clusters that run your container-based applications.

Chapter 10, Running Docker in Public Clouds, looks at using the tools provided by Docker to launch a Docker Swarm cluster in Amazon Web Services, and also Microsoft Azure. We will then look at the container solutions offered by Amazon Web Services, Microsoft Azure, and Google Cloud.

Chapter 11, Portainer - A GUI for Docker, explains that most of our interaction with Docker has been on the command line. Here, we will take a look at Portainer, a tool that allows you to manage Docker resources from a web interface.

Chapter 12, Docker Security, takes a look at Docker security. We will cover everything from the Docker host, to how you launch your images, to where you get them from, and also the contents of your images.

Chapter 13, Docker Workflows, starts to put all the pieces together so that you can start using Docker in your production environments and feel comfortable doing so.

Chapter 14, Next Steps with Docker, looks not only at how you can contribute to Docker but also at the larger ecosystem that has sprung up to support container-based applications and deployments.