Book description
Explore the core functionality of containerizing your applications and making them production-ready
Key Features
- Grasp basic to advanced Docker concepts with this comprehensive guide
- Get acquainted with Docker containers, Docker images, orchestrators, cloud integration, and networking
- Learn to simplify dependencies and deploy and test containers in production
Book Description
Containers enable you to package an application with all the components it needs, such as libraries and other dependencies, and ship it as one package. Docker containers have revolutionized the software supply chain in both small and large enterprises.
Starting with an introduction to Docker fundamentals and setting up an environment to work with it, you'll delve into concepts such as Docker containers, Docker images, and Docker Compose. As you progress, the book will help you explore deployment, orchestration, networking, and security. Finally, you'll get to grips with Docker functionalities on public clouds such as Amazon Web Services (AWS), Azure, and Google Cloud Platform (GCP), and learn about Docker Enterprise Edition features. Additionally, you'll also discover the benefits of increased security with the use of containers.
By the end of this Docker book, you'll be able to build, ship, and run a containerized, highly distributed application on Docker Swarm or Kubernetes, running on-premises or in the cloud.
What you will learn
- Containerize your traditional or microservice-based applications
- Develop, modify, debug, and test an application running inside a container
- Share or ship your application as an immutable container image
- Build a Docker Swarm and a Kubernetes cluster in the cloud
- Run a highly distributed application using Docker Swarm or Kubernetes
- Update or rollback a distributed application with zero downtime
- Secure your applications with encapsulation, networks, and secrets
- Troubleshoot a containerized, highly distributed application in the cloud
Who this book is for
This book is for system administrators, operations engineers, DevOps engineers, and developers or stakeholders who are interested in getting started with Docker from scratch. No prior experience with Docker containers is required.
Table of contents
- Title Page
- Copyright and Credits
- About Packt
- Contributors
- Preface
- Section 1: Motivation and Getting Started
- What Are Containers and Why Should I Use Them?
- Setting Up a Working Environment
- Section 2: Containerization, from Beginner to Black Belt
- Mastering Containers
- Creating and Managing Container Images
- Data Volumes and Configuration
- Debugging Code Running in Containers
- Using Docker to Supercharge Automation
-
Advanced Docker Usage Scenarios
- Technical requirements
- All of the tips and tricks of a Docker pro
- Running your Terminal in a remote container and accessing it via HTTPS
- Running your development environment inside a container
- Running your code editor in a remote container and accessing it via HTTPS
- Summary
- Questions
- Further reading
- Section 3: Orchestration Fundamentals and Docker Swarm
- Distributed Application Architecture
- Single-Host Networking
- Docker Compose
-
Orchestrators
- What are orchestrators and why do we need them?
- The tasks of an orchestrator
- Overview of popular orchestrators
- Summary
- Questions
- Further reading
- Introduction to Docker Swarm
- Zero-Downtime Deployments and Secrets
- Section 4: Docker, Kubernetes, and the Cloud
-
Introduction to Kubernetes
- Technical requirements
- Kubernetes architecture
- Kubernetes master nodes
- Cluster nodes
- Introduction to Minikube
- Kubernetes support in Docker for Desktop
- Introduction to pods
- Kubernetes ReplicaSet
- Kubernetes deployment
- Kubernetes service
- Context-based routing
- Comparing SwarmKit with Kubernetes
- Summary
- Questions
- Further reading
- Deploying, Updating, and Securing an Application with Kubernetes
- Monitoring and Troubleshooting an App Running in Production
- Running a Containerized App in the Cloud
- Assessments
- Other Books You May Enjoy
Product information
- Title: Learn Docker - Fundamentals of Docker 19.x - Second Edition
- Author(s):
- Release date: March 2020
- Publisher(s): Packt Publishing
- ISBN: 9781838827472
You might also like
book
Learn Docker - Fundamentals of Docker 18.x
Enhance your software deployment workflow using containers About This Book Get up-and-running with basic to advanced …
book
Mastering Docker - Fourth Edition
Unlock the full potential of the Docker containerization platform with this practical guide Key Features Explore …
book
Docker: Up & Running, 2nd Edition
Docker is rapidly changing the way organizations deploy software at scale. However, understanding how Linux containers …
book
Docker in Action, Second Edition
Docker in Action, Second Edition teaches you the skills and knowledge you need to create, deploy, …