Docker in Practice, Second Edition presents over 100 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 techniques that you can apply to a whole range of scenarios.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Docker's simple idea-wrapping an application and its dependencies into a single deployable container-created a buzz in the software industry. Now, containers are essential to enterprise infrastructure, and Docker is the undisputed industry standard. So what do you do after you've mastered the basics? To really streamline your applications and transform your dev process, you need relevant examples and experts who can walk you through them. You need this book.
About the Book
Docker in Practice, Second Edition teaches you rock-solid, tested Docker techniques, such as replacing VMs, enabling microservices architecture, efficient network modeling, offline productivity, and establishing a container-driven continuous delivery process. Following a cookbook-style problem/solution format, you'll explore real-world use cases and learn how to apply the lessons to your own dev projects.
What's inside
Continuous integration and delivery The Kubernetes orchestration tool Streamlining your cloud workflow Docker in swarm mode Emerging best practices and techniques
About the Reader
Written for developers and engineers using Docker in production.
About the Author
Ian Miell and Aidan Hobson Sayers are seasoned infrastructure architects working in the UK. Together, they used Docker to transform DevOps at one of the UK's largest gaming companies.
Table of Contents
PART 1 - DOCKER FUNDAMENTALS Discovering Docker Understanding Inside the engine room PART 2 - DOCKER AND DEVELOPMENT Using Docker as a lightweight virtual machine Building images Running containers Day-to-day Docker Configuration Getting your house in order PART 3 - DOCKER AND DEVOPS Continuous Speeding up your development pipeline Continuous A perfect fit for Docker principles Network Realistic environment testing without the pain PART 4 - ORCHESTRATION FROM A SINGLE MACHINE TO THE CLOUD A primer on container orchestration The data center as an OS with Docker Docker platforms PART 5 - DOCKER IN PRODUCTION Docker and security Plain Running Docker in production Docker in Dealing with challenges
Docker is a platform that allows you to “build, ship, and run any app, anywhere.” The authors describe the architecture of the Docker well and describe how it works. Book covers 101 specific techniques and provide useful solutions to your problems in the real world. This book focuses on using Docker to run Linux containers. Book is a little old (!!!) so some of command are out of date and some of them are not supported today but it introduces projects, tools, and libraries that is useful such as Kubernetes, Mesos, Marathon, etc.
A Docker book published in May 2016 comprised of four sections and one hundred and one "techniques," or real-world Docker use cases. It serves is a prime example of why, when topics are trendy and oversaturated, you simply cannot beat a good old-fashioned paperback. Sure, a few topics were outdated, but I learned more in this book than I did from hundreds of Google searches made in the interest of instant gratification.
This will be best enjoyed by intermediate Docker users who have used the technology in production or those who have a high level of proficiency with Linux and are serious about evaluating Docker. To me, it's impossible to appreciate the wonders of Docker without using it in production and watching it solve your biggest problems (usually by spawning some smaller problems). Without this experience, some of the topics here will seem contrived. Docker in Practice revolves around use cases that most likely originated in the trenches and speak to the technology's growing pervasiveness.
Though I'm far from a power user, I'm somewhat of an evangelist in the office, and I am happy to endorse many of the techniques recounted in this book as things I have implemented or explored and reached a similar consensus on. There's no denying that the ego boost is nice and that it's helpful to know that I have reinforcements out there--somewhere, but more than anything I enjoyed a depth of writing and even stream of reasoning that is a rarity among my usual excursions into GitHub comments, Stack Overflow answers, and blog posts.
Apparently, there is a new version planned to be released in June, but I don't think you'll regret pulling the trigger on this edition now.
All in all, a very good introduction to docker. The latter part of the book is really more swarm, which, well, is NOT kubernetes. Part of the last chapter (13.4) is a bit frustrating, as he talks about docker nodes, the commands you run imply that the nodes exist as you make some private, drain, etc., but... no where does he tell you how to actually create them. googling around doesn't help, you find all kinda of stuff on node.js, which is not docker node, and you can manage existing nodes but... you can't create them... ugh. but it is likely moot, as if you are looking for orchestration of docker images, you'd be pretty much want to use kubernetes...
Excellent book, as set of pair problem-solution, covers wide range of topics, from basic to complex, giving point of view of developers, devops and software maintainers regarding usage of docker.
Nice book with practical tips on what is possible to do with docker. The first edition is outdated from some parts, but still has many useful techniques
This book is setup for those that want to get into Docker internals and solve real world problems. This is not for those who just want to know where to get started.
Excellent book. I really like how the author/s walked the talk. Most technical books are focused on theory and there is usually some kind of a project or some practical examples which are at the end not very practical at all. They demonstrate how something works in isolation but they don’t give you any useful information if this is actually the best practice or how to do it in production.
This book, on the other hand, shows that the author/s spend a lot of their time managing, tuning, troubleshooting their environment. This book is written from their experience and that makes it valuable.
The only downside is that the book, written in 2018, is a little outdated in 2021.
This book is no match for Docker in Action, even when they are both about Docker and are published by Manning. It uses a Problem/Solution approach to explain Docker, what only partially works. It is a good fit for simple problems, but when it comes to complex topics in which you need a lot of background, this is not working. The formatting for Kindle was poor (especially the code examples) and far below the level of the other books published by Manning.
Good overview that filled in some gaps in my knowledge, and offers some examples that I'm sure will be helpful in the future as I use Docker more. A little dated as Docker changes so quickly, but I couldn't find a more recent book with similar information. A few code examples failed to run due to typos or changes that have occurred since the book was published, which was frustrating. At least one example used an image (tutum/wordpress) that was already obsolete when this 2nd edition was published. Overall though it was helpful.
Invaluable reference when you need to do something in docker but don't remember or know how there are 114 techniques and they are well coded and explained. Easy read or you can also just use as a reference.