Docker in Practice

Ian Mill / Aidan Hobson SayersPosts & Telecom Press2018

No rating yet
Word count
458 words
Chapters
19
Series
Asynchronous Books
ISBN
9787115474582

Tags

Computing ProgrammingGeneral Computing Container TechnologyContainer OrchestrationDev EnvironmentContinuous IntegrationOperating SystemAssembly LineProduction EnvironmentJava Virtual MachineSoftware EngineeringStep by Step

Summary

This is the Chinese translation of Docker in Practice, published by Posts & Telecom Press under the Asynchronous Books imprint. The first edition appeared in February 2018: 314 pages, roughly 458,000 characters. The book centers on how to put Docker to real use in development and production environments, covering the whole journey from local development setups and DevOps pipelines through to production deployment, and introducing Docker's core concepts and architecture along the way. It follows a problem/solution/discussion handbook format, breaking questions such as how Docker fits into a DevOps pipeline and how to deploy it in production into 101 practical techniques: using containers as lightweight virtual machines, building and slimming images, cache management and image tagging, local registries and Docker Hub, inter-container communication and linking, combining configuration management tools with containers, continuous integration and continuous delivery, simulated network testing, and practices around container orchestration with tools such as Kubernetes, Docker security, and production operations. The examples are written mainly against Docker 1.9. Readers will learn not only Docker itself but also production experience in continuous integration, continuous delivery, build and image management, container orchestration, and related areas. The authors assume some prior knowledge of container management and operations, making the book suitable for technicians who want to put Docker to practical work, especially readers with intermediate-to-advanced DevOps and operations backgrounds.

Editor's review

很多Docker入门书讲到「镜像、容器、仓库」就收尾,读者合上书却仍不知道第二天上班怎么用。本书的长处在于把知识直接嵌进工作流:从把一台虚拟机改造成容器、给镜像打标签、清理构建缓存这些日常琐事,到把Docker接进CI/CD流水线、用配置管理工具自动化容器构建、在测试环境里模拟真实网络、在生产环境里做编排与安全加固,都有对应的做法。 「问题—解决方案—讨论」的手册式结构让本书既可以通读,也适合作为案头查阅的工具书:遇到具体问题时翻到相应技巧,照着动手,再读讨论部分理解背后的取舍。101个技巧覆盖的面比一般教程宽,持续集成、镜像管理、编排等内容都能顺带补上。需要注意,书中案例以Docker 1.9为基础撰写,命令与生态工具在今天已有变化,读者应结合现行官方文档使用。对于想把容器真正推进到生产环境的中高级工程师,这本仍是性价比较高的实践参考。

Who it's for

A good fit for

Not a good fit for

Reading tips

  1. 第一部分的第1、2章建议顺序通读,先建立镜像分层、守护进程与注册中心的心智模型。
  2. 后续按工作场景跳读:开发期看第3—5章,流水线看第6—8章,上线与运维看第9—12章。
  3. 每个技巧都建议在本机或虚拟机里动手复现一遍,并对比书中Docker 1.9与你所用版本的差异。
  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 Basics
  2. Chapter 1 Discovering Docker
  3. Chapter 2 Understanding Docker: Inside the Engine Room
  4. Part 2 Docker and Development
  5. Chapter 3 Using Docker as a Lightweight Virtual Machine
  6. Chapter 4 Day-to-Day Docker
  7. Chapter 5 Configuration Management: Getting Your House in Order
  8. Part 3 Docker and DevOps
  9. Chapter 6 Continuous Integration: Speeding Up Your Development Pipeline
  10. Chapter 7 Continuous Delivery: A Perfect Fit for Docker Principles
  11. Chapter 8 Network Simulation: Realistic Testing Without Pain
  12. Part 4 Docker in Production
  13. Chapter 9 Container Orchestration: Managing Multiple Docker Containers
  14. Chapter 10 Docker and Security
  15. Chapter 11 Plain Sailing: Docker in Production and Operational Considerations
  16. Chapter 12 Docker in Production: Dealing with Challenges
  17. Appendix A Installing and Using Docker
  18. Appendix B Docker Configuration
  19. Appendix C Vagrant

FAQ

这本书是第几版? 本条目对应2018年2月人民邮电出版社第1版(ISBN 9787115474582,314页)。该书另有2020年出版的第2版,ISBN 9787115541109,页数与技巧数量均有增加,购买时请核对ISBN。
没有Docker基础能直接读吗? 可以读第一部分,但全书定位是实践手册,作者明确要求读者具备一定的容器管理与运维基础。零基础读者建议先补Linux命令行、进程与网络的基本概念,再进入本书。
书中的示例还能直接照抄运行吗? 书中案例参照Docker 1.9编写,部分命令和生态工具已经演变。建议在动手时对照Docker官方最新文档核对参数,把书中做法理解为思路与套路,而非逐字可复制的脚本。
101个技巧需要全部读完吗? 不必。每个技巧都是相对独立的问题—解决方案单元,可按目录或索引定位当前工作需要的条目,通读时也可跳过与自身场景无关的部分。

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.

About the author

Ian Mill Author

Ian Mill is a computer book author about whom little public information is available, and whose name appears in Chinese-language technical publishing. Two of his works are currently included in the collection: Docker in Practice and its second edition, both centered on Docker container technology and classified under computing and programming design. Judging from these titles, he focuses on practical aspects of containers such as building, deploying, and day-to-day use, writing operational guidance for developers and operations staff rather than theoretical exposition. Since details of his background, nationality, and professional career remain unconfirmed, no inferences are made here; readers may treat his two Docker-related books as introductory and practical references for learning container technology.

Aidan Hobson Sayers Author

Aidan Hobson Sayers is a computer technology author about whom limited public information is available; no complete biographical record can currently be verified. Judging from the works held in the collection, he writes around Docker container technology, having authored Docker in Practice and its second edition, practical technical books in the computing and programming design categories. These two works are aimed at developers who wish to understand and apply containerization tools, and they emphasize hands-on practice and engineering implementation rather than abstract theoretical exposition. His writing style stays close to real usage scenarios, making it easy for readers to apply the methods directly to daily development and deployment work. Although details such as the author's nationality and dates of birth and death remain unclear, through these two works he has gained a certain attention and recognition among Chinese-language readers of container technology.