<span>Docker and Linux containers have fundamentally changed the way that organizations develop, deliver, and run software at scale. But understanding why these tools are important and how they can be successfully integrated into your organization's ecosystem can be challenging. This fully updated g
Docker: Up & Running: Shipping Reliable Containers in Production
β Scribed by Sean P. Kane; Karl Matthias
- Publisher
- O'Reilly Media
- Year
- 2018
- Tongue
- English
- Leaves
- 350
- Edition
- 2
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
Docker is rapidly changing the way organizations deploy software at scale. However, understanding how Linux containers fit into your workflowβand getting the integration details rightβis not a trivial task. With the updated edition of this practical guide, youβll learn how to use Docker to package your applications with all of their dependencies and then test, ship, scale, and support your containers in production.
This edition includes significant updates to the examples and explanations that reflect the substantial changes that have occurred over the past couple of years. Sean Kane and Karl Matthias have added a complete chapter on Docker Compose, deeper coverage of Docker Swarm mode, introductions to both Kubernetes and AWS Fargate, examples on how to optimize your Docker images, and much more.
- Learn how Docker simplifies dependency management and deployment workflow for your applications
- Start working with Docker images, containers, and command line tools
- Use practical techniques to deploy and test Docker containers in production
- Debug containers by understanding their composition and internal processes
- Deploy production containers at scale inside your data center or cloud environment
- Explore advanced Docker topics, including deployment tools, networking, orchestration, security, and configuration
β¦ Table of Contents
Cover
Copyright
Table of Contents
Foreword
Preface
_Who Should Read This Book
_Why Read This Book?
_Navigating This Book
_Conventions Used in This Book
_Using Code Examples
_OβReilly Safari
_How to Contact Us
_Acknowledgments
Chapter 1. Introduction
_The Promise of Docker
_Benefits of the Docker Workflow
__What Docker Isnβt
_Important Terminology
_Wrap-Up
Chapter 2. The Docker Landscape
_Process Simplification
_Broad Support and Adoption
_Architecture
_Client/Server Model
__Network Ports and Unix Sockets
__Robust Tooling
__Docker Command-Line Tool
__Docker Engine API
__Container Networking
__Getting the Most from Docker
__Containers Are Not Virtual Machines
__Limited Isolation
__Containers Are Lightweight
__Toward an Immutable Infrastructure
__Stateless Applications
__Externalizing State
_The Docker Workflow
_Revision Control
__Building
__Testing
__Packaging
__Deploying
__The Docker Ecosystem
__Wrap-Up
Chapter 3. Installing Docker
_Docker Client
_Linux
__macOS, Mac OS X
__Microsoft Windows 10 Professional
__Docker Server
__systemd-Based Linux
__Non-Linux VM-Based Server
_Testing the Setup
_Ubuntu
__Fedora
__Alpine Linux
__Exploring the Docker Server
____Wrap-Up
Chapter 4. Working with Docker Images
_Anatomy of a Dockerfile
_Building an Image
_Troubleshooting Broken Builds
_Running Your Image
__Environment Variables
_Custom Base Images
_Storing Images
__Public Registries
__Private Registries
__Authenticating to a Registry
__Running a Private Registry
_Advanced Building Techniques
_Keeping Images Small
__Layers Are Additive
__Optimizing for the Cache
__Wrap-Up
Chapter 5. Working with Docker Containers
_What Are Containers?
_History of Containers
__Creating a Container
__Basic Configuration
__Storage Volumes
__Resource Quotas
_Starting a Container
_Auto-Restarting a Container
_Stopping a Container
_Killing a Container
_Pausing and Unpausing a Container
_Cleaning Up Containers and Images
_Windows Containers
_Wrap-Up
Chapter 6. Exploring Docker
_Printing the Docker Version
_Server Information
_Downloading Image Updates
_Inspecting a Container
_Exploring the Shell
_Returning a Result
_Getting Inside a Running Container
_docker exec
__nsenter
__docker volume
__Logging
__docker logs
__More Advanced Logging
__Non-Plug-In Community Options
_Monitoring Docker
_Container Stats
__Container Health Checks
__Docker Events
__cAdvisor
__Prometheus Monitoring
_Exploration
_Wrap-Up
Chapter 7. Debugging Containers
_Process Output
_Process Inspection
_Controlling Processes
_Network Inspection
_Image History
_Inspecting a Container
_Filesystem Inspection
_Wrap-Up
Chapter 8. Exploring Docker Compose
_Configuring Docker Compose
_Launching Services
_Exploring RocketChat
_Exercising Docker Compose
____Wrap-Up
Chapter 9. The Path to Production Containers
_Getting to Production
_Dockerβs Role in Production Environments
__Job Control
__Resource Limits
__Networking
__Configuration
__Packaging and Delivery
__Logging
__Monitoring
__Scheduling
__Service Discovery
__Production Wrap-Up
_Docker and the DevOps Pipeline
_Quick Overview
__Outside Dependencies
__Wrap-Up
Chapter 10. Docker at Scale
_Centurion
_Docker Swarm Mode
_Amazon ECS and Fargate
_Core AWS Setup
__IAM Role Setup
__AWS CLI Setup
__Container Instances
__Tasks
__Testing the Task
__Stopping the Task
__Kubernetes
__What Is Minikube?
__Installing Minikube
__Running Kubernetes
__Kubernetes Dashboard
__Kubernetes Containers and Pods
__Letβs Deploy Something
__Deploying a Realistic Stack
__Service Definition
__PersistentVolumeClaim Definition
__Deployment Definition
__Deploying the Application
__Scaling Up
__kubectl API
____Wrap-Up
Chapter 11. Advanced Topics
_Containers in Detail
_cgroups
__Namespaces
__Security
__UID 0
__Privileged Containers
__Secure Computing Mode
__SElinux and AppArmor
__The Docker Daemon
_Advanced Configuration
_Networking
__Storage
_The Structure of Docker
_Swapping Runtimes
__gVisor
____Wrap-Up
Chapter 12. Container Platform Design
_The Twelve-Factor App
_Codebase
__Dependencies
__Config
__Backing Services
__Build, Release, Run
__Processes
__Port Binding
__Concurrency
__Disposability
__Development/Production Parity
__Logs
__Admin Processes
__Twelve-Factor Wrap-Up
__The Reactive Manifesto
__Responsive
__Resilient
__Elastic
__Message-Driven
____Wrap-Up
Chapter 13. Conclusion
_The Challenges Docker Addresses
_The Docker Workflow
_Minimizing Deployment Artifacts
_Optimizing Storage and Retrieval
_The Payoff
_The Final Word
Index
About the Authors
Colophon
β¦ Subjects
Docker;Automation;Containers;Linux;DevOps;
π SIMILAR VOLUMES
Docker is rapidly changing the way organizations deploy software at scale. However, understanding how Linux containers fit into your workflow--and getting the integration details right--is not a trivial task. With the updated edition of this practical guide, you'll learn how to use Docker to package
Docker is quickly changing the way that organizations are deploying software at scale. But understanding how Linux containers fit into your workflow--and getting the integration details right--are not trivial tasks. With this practical guide, you'll learn how to use Docker to package your applicatio
Docker is rapidly changing the way organizations deploy software at scale. However, understanding how Linux containers fit into your workflow--and getting the integration details right--is not a trivial task. With the updated edition of this practical guide, you'll learn how to use Docker to package
<p><span>Docker and Linux containers have fundamentally changed the way that organizations develop, deliver, and run software at scale. But understanding why these tools are important and how they can be successfully integrated into your organization's ecosystem can be challenging. This fully update
<p><span>Docker and Linux containers have fundamentally changed the way that organizations develop, deliver, and run software at scale. But understanding why these tools are important and how they can be successfully integrated into your organization's ecosystem can be challenging. This fully update