Docker in Practice, Second Edition
Ian Miell and Aidan Hobson Sayers
  • MEAP began June 2017
  • Publication in Early 2018 (estimated)
  • ISBN 9781617294808
  • 425 pages (estimated)
  • printed in black & white

GET MORE WITH MANNING

An eBook copy of the previous edition, Docker in Practice (First Edition), is included at no additional cost. It will be automatically added to your Manning Bookshelf within 24 hours of purchase.


Docker in Practice, Second Edition presents nearly 120 practical techniques, hand-picked to help you get the most out of Docker. Following a Problem/Solution/Discussion format, you'll walk through specific examples that you can use immediately, and you'll get expert guidance on general techniques you can apply to a whole range of scenarios. You'll tackle server maintenance, Swarm Mode, deployment, experimenting with your containers, and much more. Fully updated with newly-discovered techniques and interesting use cases, Docker in Practice, Second Edition is an essential resource that you'll want to have open on your desk!

"Must have guide to understanding, setup, and administering Docker!"

~ Alex Basil

"An essential read for DevOps transformers!"

~ Robert Kielty

"Great recipes style book for Docker."

~ Travis Wisnasky

Table of Contents detailed table of contents

Part 1: Docker fundamentals

1. Discovering Docker

1.1. The what and why of Docker

1.1.1. What is Docker?

1.1.2. What is Docker good for?

1.1.3. Key concepts

1.2. Building a Docker application

1.2.1. Ways to create a new Docker image

1.2.2. Writing a Dockerfile

1.2.3. Building a Docker image

1.2.4. Running a Docker container

1.2.5. Docker layering

1.3. Summary

2. Understanding Docker—inside the engine room

2.1. Docker’s architecture

2.2. The Docker daemon

2.2.1. TECHNIQUE n Open your Docker daemon to the world

2.2.2. TECHNIQUE n Running containers as daemons

2.2.3. TECHNIQUE n Moving Docker to a different partition

2.3. The Docker client

2.3.1. TECHNIQUE n Use socat to monitor Docker API traffic

2.3.2. TECHNIQUE n Using Docker in your browser

2.3.3. TECHNIQUE n Using ports to connect to containers

2.3.4. TECHNIQUE n Allowing container communication with user-defined networks

2.3.5. TECHNIQUE n Linking containers for port isolation

2.4. Docker registries

2.4.1. TECHNIQUE n Setting up a local Docker registry

2.5. The Docker Hub

2.5.1. TECHNIQUE n Finding and running a Docker image

2.6. Summary

Part 2: Docker and development

3. Docker as a Lightweight Virtual Machine

4. Building Containers

5. Running Containers

6. Day-to-Day Docker

7. Configuration Management: getting your house in order

Part 3: Docker and devops

8. Background: what Continuous Integration is and how does Docker fit in?

9. Continuous Delivery: a perfect fit for Docker principles

10. Networking Internals: harnessing the Docker virtual network

Part 4: Orchestration from machine to the cloud

11. Orchestration Primer

12. The Data Centre as an OS with Docker

13. Docker-based platforms

Part 5: Docker in production

14. Security

15. Plain Sailing: Docker in production and operational

16. Troubled Waters: Docker in production difficulties

About the Technology

Docker's simple idea, wrapping an application and its dependencies into a single deployable package, has continued to drive a revolution in software delivery. Docker is now the foundation of CI and CD pipelines, microservice systems, infrastructure automation, and countless innovative twists on the dev process. As well, Docker boasts an incredibly diverse and rich ecosystem, including Kubernetes, CoreOS, Mesos, OpenShift, and the 100,000+ images available on Docker Hub. The options are limitless; Docker in Practice is your guide to the ideas, techniques, and tools that give you the most return on your time.

What's inside

  • New techniques and the latest best practices
  • Continuous integration and delivery
  • Swarm Mode services and routing mesh
  • The Kubernetes orchestration tool
  • Streamlining your cloud workflow
  • Navigating the Docker ecosystem

About the reader

Written for developers and engineers using Docker in production.

About the authors

Ian Miell is the Lead OpenShift Architect at Barclays. Aidan Hobson Sayers is a developer at Hadean. Previously, they used Docker to transform DevOps at OpenBet.


Manning Early Access Program (MEAP) Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
Buy
MEAP combo $49.99 pBook + eBook + liveBook
MEAP eBook $39.99 pdf + ePub + kindle + liveBook

FREE domestic shipping on three or more pBooks