Troubleshooting Docker

Strategically design, troubleshoot, and automate Docker containers from development to deployment
Preview in Mapt

Troubleshooting Docker

Vaibhav Kohli, Rajdeep Dua, John Wooten

Strategically design, troubleshoot, and automate Docker containers from development to deployment
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Troubleshooting Docker Book Cover
Troubleshooting Docker
$ 35.99
$ 25.20
Docker: Creating Structured Containers Book Cover
Docker: Creating Structured Containers
$ 59.99
$ 42.00
Buy 2 for $35.00
Save $60.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781783552344
Paperback290 pages

Book Description

This book will traverse some common best practices to for complex application scenarios where troubleshooting can be successfully employed to provide the repeatable processes and advantages that containers can deliver.

This book will be a practical guide showing how to fix real-life issues related to installation, memory, Dockerfile syntax, connection, authorization, networking and so on in Docker. This book will also teach how to solve errors that occur during advanced setup and administration and deployment in a step-by-step fashion. By sequentially working through the real-world production scenarios in each chapter throughout the book, you will gain insight into and mastery of common areas not only for effective troubleshooting, but ways and means to avoid troubleshooting in the first place. This book will also cover tips and tricks that make the workflow easier.

Table of Contents

Chapter 1: Understanding Container Scenarios and an Overview of Docker
Decoding containers
Unikernels
Summary
Chapter 2: Docker Installation
Installing Docker on Ubuntu
Installing Docker on Red Hat Linux
Deploy CentOS VM on AWS to run Docker containers
Installing Docker on CoreOS
Installing Docker on Fedora
Installing Docker with script
Installing Docker on SUSE Linux
Summary
Chapter 3: Building Base and Layered Images
Building container images
Image testing and debugging
Automated image building
Summary
Chapter 4: Devising Microservices and N-Tier Applications
Hype or hubris
Monolithic architecture
N-tier application architecture
Microservices architecture
Summary
Chapter 5: Moving Around Containerized Applications
Redistributing via Docker registry
Pushing images to Docker Hub
Docker Trusted Registry (DTR)
Docker Universal Control Plane
Summary
Chapter 6: Making Containers Work
Privileged containers
Super-privileged container
Puppet
Ansible
Chef
Summary
Chapter 7: Managing the Networking Stack of a Docker Container
Docker networking
docker0 bridge
Configuring DNS
Troubleshooting communication between containers and the external network
libnetwork and the Container Network Model
Docker networking tools based on overlay and underlay networks
Configuring an overlay network with the Docker Engine swarm node
Configuring OpenvSwitch (OVS) to work with Docker
Summary
Chapter 8: Managing Docker Containers with Kubernetes
Deploying Kubernetes on Bare Metal machine
Troubleshooting the Kubernetes Fedora manual setup
Deploying Kubernetes using Minikube
Deploying Kubernetes on AWS
Deploying Kubernetes on vSphere
Kubernetes setup troubleshooting
Kubernetes pod deployment
Deploying Kubernetes in a production environment
Debugging Kubernetes issues
Summary
Chapter 9: Hooking Volume Baggage
Avoiding troubleshooting by understanding Docker volumes
Default case storing data inside the Docker container
Data-only container
Host mapped volume backed up by shared storage
Docker storage driver performance
Summary
Chapter 10: Docker Deployment in a Public Cloud - AWS and Azure
Architecture of Amazon ECS
Troubleshooting - AWS ECS deployment
Updating Docker containers in the ECS cluster
Microsoft Azure container service architecture
Troubleshooting - The Microsoft Azure Container Service
Docker Beta for AWS and Azure
Summary

What You Will Learn

  • Install Docker ecosystem tools and services, Microservices and N-tier applications
  • Create re-usable, portable containers with help of automation tools
  • Network and inter-link containers
  • Attach volumes securely to containers
  • Consume and troubleshoot Docker APIs
  • Troubleshooting issue of Docker deployment in Public cloud
  • Ease the process of container management with Kubernetes

Authors

Table of Contents

Chapter 1: Understanding Container Scenarios and an Overview of Docker
Decoding containers
Unikernels
Summary
Chapter 2: Docker Installation
Installing Docker on Ubuntu
Installing Docker on Red Hat Linux
Deploy CentOS VM on AWS to run Docker containers
Installing Docker on CoreOS
Installing Docker on Fedora
Installing Docker with script
Installing Docker on SUSE Linux
Summary
Chapter 3: Building Base and Layered Images
Building container images
Image testing and debugging
Automated image building
Summary
Chapter 4: Devising Microservices and N-Tier Applications
Hype or hubris
Monolithic architecture
N-tier application architecture
Microservices architecture
Summary
Chapter 5: Moving Around Containerized Applications
Redistributing via Docker registry
Pushing images to Docker Hub
Docker Trusted Registry (DTR)
Docker Universal Control Plane
Summary
Chapter 6: Making Containers Work
Privileged containers
Super-privileged container
Puppet
Ansible
Chef
Summary
Chapter 7: Managing the Networking Stack of a Docker Container
Docker networking
docker0 bridge
Configuring DNS
Troubleshooting communication between containers and the external network
libnetwork and the Container Network Model
Docker networking tools based on overlay and underlay networks
Configuring an overlay network with the Docker Engine swarm node
Configuring OpenvSwitch (OVS) to work with Docker
Summary
Chapter 8: Managing Docker Containers with Kubernetes
Deploying Kubernetes on Bare Metal machine
Troubleshooting the Kubernetes Fedora manual setup
Deploying Kubernetes using Minikube
Deploying Kubernetes on AWS
Deploying Kubernetes on vSphere
Kubernetes setup troubleshooting
Kubernetes pod deployment
Deploying Kubernetes in a production environment
Debugging Kubernetes issues
Summary
Chapter 9: Hooking Volume Baggage
Avoiding troubleshooting by understanding Docker volumes
Default case storing data inside the Docker container
Data-only container
Host mapped volume backed up by shared storage
Docker storage driver performance
Summary
Chapter 10: Docker Deployment in a Public Cloud - AWS and Azure
Architecture of Amazon ECS
Troubleshooting - AWS ECS deployment
Updating Docker containers in the ECS cluster
Microsoft Azure container service architecture
Troubleshooting - The Microsoft Azure Container Service
Docker Beta for AWS and Azure
Summary

Book Details

ISBN 139781783552344
Paperback290 pages
Read More

Read More Reviews

Recommended for You

Docker Cookbook Book Cover
Docker Cookbook
$ 35.99
$ 25.20
Mastering Docker Book Cover
Mastering Docker
$ 39.99
$ 28.00
Learning Docker Book Cover
Learning Docker
$ 39.99
$ 8.00
Orchestrating Docker Book Cover
Orchestrating Docker
$ 14.99
$ 10.50
DevOps Automation Cookbook Book Cover
DevOps Automation Cookbook
$ 35.99
$ 25.20
GitHub Essentials Book Cover
GitHub Essentials
$ 23.99
$ 16.80