Docker Source Code Analysis
Tags
Summary
Editor's review
Who it's for
A good fit for
- 有Docker日常使用经验、想弄清底层实现原理的后端与运维工程师
- 正在搭建容器云平台、需要理解镜像与网络机制的架构师
- 熟悉Go语言,想通过真实项目源码学习工程结构的中高级开发者
- 计算机专业高年级学生与研究生,用于理解Linux命名空间、Cgroups等虚拟化基础
Not a good fit for
- 完全没接触过Docker命令与概念的零基础读者,宜先读入门书
- 只想找Docker命令速查、最佳实践或面试题库的读者
- 需要与当前Docker版本完全对应的API与源码细节的开发者,需另行查阅官方文档
Reading tips
- 先精读第1章架构图与两个运行案例(docker pull、docker run),建立全局坐标再进细节。
- 按主题分块读:网络(第6~7章)可单独成组;先读第9~11章镜像部分,再读容器部分,会更容易理解分层机制。
- 读代码时打开对应版本(Docker 1.2.0)的源码仓库,边看边对照,比只看书中片段收效更大。
- 在书上标注与当前版本差异较大的地方,善用官方文档补充,把重点放在设计思想而非具体函数名上。
About the publisher
In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.
Contents
- Praise
- Foreword
- Preface
- Chapter 1 Docker Architecture
- Chapter 2 Docker Client Creation and Command Execution
- Chapter 3 Starting the Docker Daemon
- Chapter 4 The NewDaemon Implementation in Docker Daemon
- Chapter 5 Creation of the Docker Server
- Chapter 6 Docker Daemon Networking
- Chapter 7 Docker Container Networking
- Chapter 8 Docker Images
- Chapter 9 Docker Image Downloading
- Chapter 10 Docker Image Storage
- Chapter 11 Implementation of docker build
- Chapter 12 Docker Container Creation
- Chapter 13 dockerinit Startup
- Chapter 14 Introduction to libcontainer
- Chapter 15 Swarm Architecture Design and Implementation
- Chapter 16 Machine Architecture Design and Implementation
- Chapter 17 Compose Architecture Design and Implementation
FAQ
这本书讲的是哪个版本的Docker源码?
没有读过Docker入门书能直接看这本吗?
书里为什么要讲Swarm、Machine和Compose?
这本书只有一百多页,内容会不会太浅?
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.