The Ultimate Docker Container Book: Build, Test, Ship, and Run Containers With Docker and Kubernetes

Gabriel N. Schenker

Language: English

Publisher: Packt Publishing

Published: Aug 30, 2023

Description:

Build, ship, and run containers from scratch with Docker and Kubernetes be it on premise or in the cloud

Key Features

  • Master Docker container setup, operation, and debugging
  • Use Docker compose for managing multi-service applications
  • Navigate orchestrators like Kubernetes and Docker swarmkit
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

The Ultimate Docker Container Book, 3rd edition enables you to leverage Docker containers for streamlined software development. You’ll uncover Docker fundamentals and how containers improve software supply chain efficiency and enhance security.

You’ll start by learning practical skills such as setting up Docker environments, handling stateful components, running and testing code within containers, and managing Docker images. You’ll also explore how to adapt legacy applications for containerization and understand distributed application architecture. Next, you’ll delve into Docker's networking model, software-defined networks for secure applications, and Docker compose for managing multi-service applications along with tools for log analysis and metrics. You’ll further deepen your understanding of popular orchestrators like Kubernetes and Docker swarmkit, exploring their key concepts, and deployment strategies for resilient applications. In the final sections, you’ll gain insights into deploying containerized applications on major cloud platforms, including Azure, AWS, and GCE and discover techniques for production monitoring and troubleshooting.

By the end of this book, you’ll be well-equipped to manage and scale containerized applications effectively.

What you will learn

  • Understand the benefits of using containers
  • Manage Docker containers effectively
  • Create and manage Docker images
  • Explore data volumes and environment variables
  • Master distributed application architecture
  • Deep dive into Docker networking
  • Use Docker Compose for multi-service apps
  • Deploy apps on major cloud platforms

Who this book is for

This book is for Linux professionals, system administrators, operations engineers, DevOps engineers, software architects, and developers looking to work with Docker and Kubernetes from scratch. A basic understanding of Docker containers is recommended, but no prior knowledge of Kubernetes is required. Familiarity with scripting tools such as Bash or PowerShell will be advantageous.

Table of Contents

  1. What Are Containers and Why Should I Use Them?
  2. Setting Up a Working Environment
  3. Mastering Containers
  4. Creating and Managing Container Images
  5. Data Volumes and Configuration
  6. Debugging Code Running in Containers
  7. Testing Applications Running in Containers
  8. Increasing Productivity with Docker Tips and Tricks
  9. Learning about Distributed Application Architecture
  10. Using Single-Host Networking
  11. Managing Containers with Docker Compose
  12. Shipping Logs and Monitoring Containers
  13. Introducing Container Orchestration
  14. Introducing Docker Swarm
  15. Deploying and Running a Distributed Application on Docker Swarm
  16. Exploring Kubernetes
  17. Deploying, Updating, and Securing an Application with Kubernetes
  18. Running a Containerized Application in the Cloud
  19. Monitoring and Troubleshooting an Application Running in Production

About the Author

Gabriel N. Schenker has more than 25 years of experience as an independent consultant, architect, leader, trainer, mentor, and developer. Currently, Gabriel works as Lead Solution Architect at Techgroup Switzerland. Prior to that, Gabriel worked as Lead Curriculum Developer at Docker and at Confluent. Gabriel has a Ph.D. in Physics, and he is a Docker Captain, a Certified Docker Associate, a Certified Kafka Developer and Operator, and an ASP Insider. When not working, Gabriel enjoys time with his wonderful wife Veronicah and his children.