Docker Deep Dive (2nd Edition) cover

Docker Deep Dive (2nd Edition)

Rating 4.0
Chapters
17
ISBN
9787115655769

Tags

Summary

Docker Deep Dive (2nd Edition) is the revised Chinese edition of the Docker primer by the British technical author and Docker Captain Nigel Poulton, originally published as Docker Deep Dive, translated by Li Han and published by Posts & Telecom Press. The book has 15 chapters in two parts, "Docker Overview" and "Docker Technology." The first part begins with the history of containers, introduces the differences between containers and virtual machines, the relationship between the Docker company and the Open Container Initiative (OCI), and how to install and configure Docker on Windows, Mac, Linux, and other platforms. The second part examines in turn the Docker engine architecture (daemon, containerd, runc, shim), image layering and registry mechanisms, the container lifecycle, packaging applications into images, orchestrating multi-container applications with Docker Compose, building clusters with Swarm, single-host networking and multi-host overlay networks, volumes and persistent data storage, deploying complete applications with Docker Stack, and Docker security. The author uses a consistent chapter structure of "introduction—detailed explanation—commands—summary," with concise narration and abundant diagrams and command examples, emphasizing hands-on practice while reading. The second edition updates the content for the current Docker Desktop and engine forms and adds background on orchestration ecosystems such as Kubernetes, making it suitable as an introductory text for systematic container learning from scratch.

Editor's review

如果你想找一本能在一两周内把 Docker 从概念读到上手的书,这本大概率是首选。作者 Nigel Poulton 是 Docker Captain,长期只做容器和 Kubernetes 的写作与培训,他的书最大的特点是「不炫技」——不铺陈源码和内核细节,而是先把「为什么需要容器」「镜像和容器是什么关系」讲清楚,再带你一条条敲命令。全书沿用「简介—详解—命令—小结」四段式结构,每章末尾都有小结,读起来像跟着一位耐心的讲师上课,很适合自学节奏。第2版由李晗继续翻译,术语沿用社区通用译法,译文流畅度在技术书中属于上乘;内容上对 Docker Desktop、引擎架构以及编排生态做了更新,并补充了 Kubernetes 的背景介绍,使这本书在今天读起来依然不过时。它的定位很明确:入门与建立体系,不讲大规模生产调优,也不深入源码。作为异步图书系列的经典条目,适合放在案头当命令速查手册,也适合作为团队新人培训的第一本教材。

Who it's for

A good fit for

  • 听说过容器但没真正用过的开发新手,想系统建立 Docker 概念体系
  • 需要把项目打包成镜像、写 Dockerfile 的后端与全栈工程师
  • 要搭建测试或预发环境、维护部署流程的运维与 DevOps 人员
  • 准备 Docker 相关认证考试、需要一份结构化复习材料的读者

Not a good fit for

  • 已有大量生产经验、想深入 CRI、runc 源码与内核 namespace 细节的资深读者
  • 主要诉求是 Kubernetes 集群运维与调优、只想看 K8s 内容的人
  • 完全不使用命令行、只想找图形化工具操作指南的读者

Reading tips

  1. 先读第一部分建立概念,再按第6至第9章的顺序动手:镜像、容器、容器化、Compose 一气呵成。
  2. 每章的命令建议在自己机器上实际敲一遍,用 Docker Desktop 或一台 Linux 虚拟机即可完成全部练习。
  3. 第10至第14章涉及集群与网络,可先跳过细节,遇到真实部署需求时再回头精读。
  4. 读完后把自己手上的一个小项目完整容器化,作为检验学习效果的最小实践。

About the publisher

Posts & Telecom Press China · Founded in 1953

Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.

Contents

  1. Part 1 Docker Overview
  2. Chapter 1 The History of Containers
  3. Chapter 2 Docker
  4. Chapter 3 Installing Docker
  5. Chapter 4 Docker in a Nutshell
  6. Part 2 Docker Technology
  7. Chapter 5 The Docker Engine
  8. Chapter 6 Docker Images
  9. Chapter 7 Docker Containers
  10. Chapter 8 Containerizing an Application
  11. Chapter 9 Deploying an Application with Docker Compose
  12. Chapter 10 Docker Swarm
  13. Chapter 11 Docker Networking
  14. Chapter 12 Docker Overlay Networks
  15. Chapter 13 Volumes and Persistent Data
  16. Chapter 14 Deploying an Application with Docker Stack
  17. Chapter 15 Docker Security

FAQ

这本书和《Docker Deep Dive》是什么关系?
《深入浅出Docker》就是 Nigel Poulton 所著《Docker Deep Dive》的中文译本,由李晗翻译、人民邮电出版社出版;第2版对应原书更新后的内容,章节结构从第1版的17章调整为15章。
零基础学 Docker,这本书需要什么前置知识?
书中假定读者具备基本的 Linux 命令行操作经验,了解进程、文件系统、端口等常见概念。不要求会写编程语言,但若能把一个简单 Web 应用跑起来,做容器化练习会顺畅很多。
第2版相比第1版有哪些变化?
第2版全书为15章、约258页,更新了 Docker 引擎与 Docker Desktop 的安装配置内容,梳理了 containerd、runc 等组件的架构,并在容器发展历程中补充了 Kubernetes 等编排生态的背景。
书里的例子现在还能直接跑吗?
主体命令与工作流(镜像、容器、Compose、Swarm、网络、卷)长期稳定,基本可以直接练习;但涉及具体版本号、镜像标签和界面按钮的部分可能随 Docker 版本变化,遇到不一致时以官方文档为准。
这本书能替代官方文档吗?
不能完全替代。它更适合帮助建立概念框架和掌握常用命令;参数细节、最新特性和弃用变更仍需查阅 Docker 官方文档。建议把本书当作学习路线图,把官方文档当作查询手册。

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

Top rated in the same category