Docker in Production
Lessons from the Trenches
Publisher: Bleeding Edge Press
Release Date: August 2015
Read on Safari with a 10-day trial
Start your free trial now Buy on AmazonWhere’s the cart? Now you can get everything on Safari. To purchase books, visit Amazon or your favorite retailer. Questions? See our FAQ or contact customer service:
1-800-889-8969 / 707-827-7019
support@oreilly.com
This book will give you a solid understanding of the building blocks and concerns of architecting and running Docker-based infrastructure in production.
If you have experience in DevOps and ops backgrounds then this is the book for you. Previous experience with both the basics of running servers in production as well as creating and managing containers is also highly recommended.
Table of Contents
-
Chapter 1 Getting Started
-
Terminology
-
Development to Production
-
Multiple Ways to Use Docker
-
What to Expect
-
-
Chapter 2 The Stack
-
Build System
-
Image Repository
-
Host Management
-
Configuration Management
-
Deployment
-
Orchestration
-
-
Chapter 3 Example - Bare Bones Environment
-
Keeping the Pieces Simple
-
Keeping The Processes Simple
-
Systems in Detail
-
Cluster-wide, common and local configurations
-
Deploying services
-
Support services
-
Discussion
-
Future
-
Summary
-
-
Chapter 4 Example - Web Environment
-
Orchestration
-
Networking
-
Data storage
-
Logging
-
Monitoring
-
No worries about new dependencies
-
Zero downtime
-
Service rollbacks
-
Conclusion
-
-
Chapter 5 Example - Beanstalk Environment
-
Process to build containers
-
Logging
-
Monitoring
-
Security
-
Summary
-
-
Chapter 6 Security
-
Threat models
-
Containers and security
-
Kernel updates
-
Container updates
-
suid and guid binaries
-
root in containers
-
Capabilities
-
seccomp
-
Kernel security frameworks
-
Resource limits and cgroups
-
ulimit
-
User namespaces
-
Image verification
-
Running the docker daemon securely
-
Monitoring
-
Devices
-
Mount points
-
ssh
-
Secret distribution
-
Location
-
-
Chapter 7 Building Images
-
Not your father’s images
-
Image building fundamentals
-
Summary
-
-
Chapter 8 Storing Docker Images
-
Getting up and running with storing Docker images
-
Automated builds
-
Private repository
-
Scaling the Private registry
-
Maintenance
-
Making your private repository secure
-
Save/Load
-
Minimizing your image sizes
-
Other Image repository solutions
-
-
Chapter 9 CI/CD
-
Let everyone just build and push containers!
-
Build all images with a build system
-
Suggest or don’t allow the use of non standard practices
-
Use a standard base image
-
Integration testing with Docker
-
Summary
-
-
Chapter 10 Configuration Management
-
Configuration Management versus Containers
-
Configuration Management for Containers
-
Summary
-
-
Chapter 11 Docker Storage Drivers
-
AUFS
-
DeviceMapper
-
btrfs
-
overlay
-
vfs
-
Summary
-
-
Chapter 12 Docker Networking
-
Networking basics
-
IP address allocation
-
Domain name resolution
-
Service discovery
-
Advanced Docker networking
-
IPv6
-
Summary
-
-
Chapter 13 Scheduling
-
What is scheduling?
-
Strategies
-
Mesos
-
Kubernetes
-
OpenShift
-
-
Chapter 14 Service Discovery
-
DNS service discovery
-
Zookeeper
-
Service discovery with Zookeeper
-
etcd
-
consul
-
Eureka
-
Smartstack
-
nsqlookupd
-
Summary
-
-
Chapter 15 Logging and Monitoring
-
Logging
-
Monitoring
-
Summary
-