A hands-on book that teaches you Docker™.


Start small with a single container and then build on what you learn to deploy multi-container applications.

Supports up to v18.09

Last supported version is v18.09.


Written for both developers and sysadmins with real-world examples and use cases.

Buy the book



  • PDF edition



  • ePub edition



  • Kindle/Mobi edition

Bundle of all formats


  • PDF edition
  • ePub edition
  • Kindle/Mobi edition

The book is no longer sold. It was kept up to date as new versions of Docker were released for five years from 2014 to 2019. The book is no longer updated and the last supported version was v18.09.2.

Table of Contents

  1. Introduction to Docker
  2. Installing Docker
  3. Getting Started with Docker
  4. Working with Docker images and repositories
  5. Testing with Docker
  6. Building services with Docker
  7. Orchestration with Docker Compose, Docker Swarm and Consul
  8. Using the Docker API
  9. Extending Docker

James Turnbull

James Turnbull

James is an author and open source geek. His most recent books were Monitoring with Prometheus, The Terraform Book, The Docker Book, about container virtualization tool Docker, and The LogStash Book about the popular open source logging tool. James also authored two books about Puppet: Pro Puppet and the Pulling Strings with Puppet. He is the author or co-author of three other books, including Pro Linux System Administration, Pro Nagios 2.0, and Hardening Linux.

For a real job, James is CTO at Empatico and the former CTO at Kickstarter and an adviser at Docker Inc. He was formerly VP of Engineering at Venmo and VP Technical Operations for Puppet Labs. He likes food, wine, books, photography, and cats. He is not overly keen on long walks on the beach and holding hands.