Docker in Practice cover

Docker in Practice

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

Tags

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

  • 已有Linux与命令行基础、想把Docker用到实际项目中的开发者
  • 负责CI/CD、发布与环境治理的DevOps工程师
  • 需要把现有虚拟机和单体应用容器化的运维人员
  • 带团队推动容器化落地、需要一套可执行做法的技术负责人

Not a good fit for

  • 完全没接触过Linux与命令行的编程零基础读者
  • 只想了解容器概念、不打算动手操作的科普型读者
  • 希望学习Kubernetes最新版本与云原生前沿实践、以K8s为唯一主题的读者

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个技巧需要全部读完吗?
不必。每个技巧都是相对独立的问题—解决方案单元,可按目录或索引定位当前工作需要的条目,通读时也可跳过与自身场景无关的部分。

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.

More by the same author

Top rated in the same category