Book description
Strategically design, troubleshoot, and automate Docker containers from development to deployment
About This Book
- Utilize current and emergent technologies for effective Docker orchestration and management
- A step-by-step guide to diagnosing and fixing problems with Docker containers.
Who This Book Is For
This book is intended for seasoned solutions architects, developers, and programmers, system engineers, and administrators to help you troubleshoot common areas of Docker containerization. If you are looking to build production-ready Docker containers for automated deployment, you will be able to master and troubleshoot both the basic functions and the advanced features of Docker. Advanced familiarity with the Linux command line syntax, unit testing, the Docker Registry, Github, and leading container hosting platforms and Cloud Service Providers (CSP) are the prerequisites.
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
In Detail
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.
Style and approach
An easy-to-follow guide full of interactive examples of real-world development and deployment scenarios.
Ample screenshots, workflows, complementary tools, and related terminal commands are provided to address a wide range of practical and situational applications.
Table of contents
-
Troubleshooting Docker
- Troubleshooting Docker
- Credits
- About the Authors
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Preface
- 1. Understanding Container Scenarios and an Overview of Docker
- 2. Docker Installation
-
3. Building Base and Layered Images
- Building container images
-
Image testing and debugging
- Docker details for troubleshooting
- Docker version
- Docker info
- A troubleshooting note for Debian/Ubuntu
- Listing installed Docker images
- Manually crank your Docker image
- Examining the filesystem state from cache
- Image layer IDs as debug containers
- Additional example
- Checking failed container processes
- Other potentially useful resources
- Using sysdig to debug
- Troubleshooting - an open community awaits you
- Automated image building
- Summary
- 4. Devising Microservices and N-Tier Applications
- 5. Moving Around Containerized Applications
- 6. Making Containers Work
-
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
-
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
- 9. Hooking Volume Baggage
- 10. Docker Deployment in a Public Cloud - AWS and Azure
Product information
- Title: Troubleshooting Docker
- Author(s):
- Release date: March 2017
- Publisher(s): Packt Publishing
- ISBN: 9781783552344
You might also like
video
Troubleshooting Kubernetes
Containers are changing the way applications are developed, deployed, and managed. Consequently, container orchestration has become …
book
Docker in Practice, Second Edition
Docker in Practice, Second Edition presents over 100 practical techniques, hand-picked to help you get the …
book
Docker Networking Cookbook
60 practical recipes that help you gain expertise with Docker networking and understand the underlying constructs …
book
Kubernetes - A Complete DevOps Cookbook
Leverage Kubernetes and container architecture to successfully run production-ready workloads Key Features Implement Kubernetes to orchestrate …