深入浅出Docker(异步图书) (Nigel Poulton(奈吉尔·波尔顿))(Z-Library)
devops
本书是一本Docker入门图书,全书分为17章,从Docker概览和Docker技术两部分进行全面解析,深入浅出地介绍了Docker的相关知识,清晰详细的操作步骤结合大量的实际代码帮助读者学以致用,将Docker知识应用到真实的项目开发当中。 本书适合对Docker感兴趣的入门新手、Docker技术开发人员以及运维人员阅读,本书也可作为Docker认证工程师考试的参考图书。
194
Views
0
Downloads
0.00
Total Donations
AI Guide
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
AI guide
【One-Line Pitch】
A practical, hands-on Docker guide that walks beginners from container history and installation through images, containers, networking, Swarm, and enterprise security, with clear commands and examples for real-world use. Ideal for developers, ops engineers, and anyone preparing for the Docker Certified Associate (DCA) exam.
【Book Arc】
- **Opening (~0%–10%)**: Introduces the container revolution—why VMs fell short, how Linux containers emerged, and Docker’s role in making containers accessible. Sets the stage for the technology’s value and ecosystem.
- **Early (~10%–23%)**: Covers Docker fundamentals—company background, the Moby open-source project, the Open Container Initiative (OCI) standards, and the "batteries included but removable" philosophy. Explains the engine’s architecture and versioning.
- **Early–Middle (~23%–42%)**: Walks through installation across Windows, Mac, Linux, and Windows Server 2016, plus engine upgrade procedures. Includes storage driver selection (e.g., Device Mapper, Overlay2) with production-focused configuration tips.
- **Middle (~42%–60%)**: Dives into core Docker technology—images (layers, tagging, registries), containers (lifecycle, restart policies), and application containerization with multi-stage builds. Emphasizes practical command usage.
- **Late (~60%–85%)**: Explores orchestration and networking—Docker Compose for multi-container apps, Swarm for clustering, overlay networks, and volumes for persistent data. Covers Stack deployment for production-grade apps.
- **Ending (~85%–100%)**: Addresses security (Linux security tech, Docker platform security), enterprise tools (EE engine, UCP, DTR), and advanced features like RBAC, AD integration, and content trust. Includes DCA exam mapping and TLS setup appendix.
【Key Takeaways】
- **Containers solve VM inefficiencies** (Early): Unlike VMs, containers share the host OS, saving CPU, RAM, and licensing costs while starting faster and migrating easily. This is the core rationale for Docker’s adoption.
- **Docker’s architecture is modular and open** (Early): The engine, Moby project, and OCI standards (runtime and image specs) enable interoperability and third-party innovation. Understanding this helps you navigate the ecosystem.
- **Installation is platform-specific but straightforward** (Early–Middle): Docker for Windows/Mac runs a Linux VM for Linux containers, while Windows Server supports native Windows containers. Verify with `docker version` and `docker system info`.
- **Storage driver choice impacts performance** (Middle): Overlay2 is recommended for modern Linux kernels, while Device Mapper needs direct-lvm configuration for production. Always check Docker docs for compatibility.
- **Images are layered and shareable** (Middle): Docker images use union file systems, enabling small sizes and efficient sharing. Tagging, digest-based pulls, and multi-arch images are key for managing deployments.
- **Containers have a lifecycle and self-healing options** (Middle): Start, stop, and restart policies (e.g., `--restart`) enable resilience. Web server examples show how to run and inspect containers in practice.
- **Orchestration scales apps beyond single containers** (Late): Docker Compose simplifies multi-container apps, while Swarm and Stack provide clustering and production deployment. Networking (overlay, ingress) and volumes ensure connectivity and persistence.
- **Security and enterprise features are critical for production** (Ending): Linux security tech, RBAC, AD integration, and Docker Content Trust (DCT) protect deployments. The DCA exam appendix maps these topics to certification domains.
【Reading Tips】
- **Skim the overview chapters (1–2)** if you’re already familiar with container basics; focus on the OCI and Moby sections for ecosystem context.
- **Deep-read installation (Chapter 3)** only for your specific platform—skip others unless you’re troubleshooting. Pay attention to storage driver recommendations for production.
- **Practice commands in Chapters 6–9** (images, containers, Compose) as you read; the "命令" sections are ideal for quick reference and hands-on learning.
- **Treat Chapters 10–14 (Swarm, networking, volumes, Stack)** as a unit—they build on each other for orchestration. Use the troubleshooting tips in Swarm for real-world issues.
- **Use the DCA appendix (Appendix B)** as a study checklist if you’re exam-bound; it maps chapters to exam weightings, helping you prioritize.
【Coverage Limits】
This guide synthesizes the book’s structure and key concepts from the provided excerpts; detailed command outputs and step-by-step examples are not fully reproduced here. The excerpts do not cover the complete content of later chapters (e.g., full security and enterprise tool details), so refer to the book for exhaustive instructions.
Passage locations
Excerpt 1
简介 9.2 使用Docker Compose部署应用——详解 9.2.1 Docker Compose的背景 9.2.2 安装Docker Compose 9.2.3 Compose文件 9.2.4 使用Docker Compose部署应用 9.2.5 使用Docker Compose管理应用 9.3 使用Do...
View in text
Excerpt 2
ux宿主机上。但是,实际场景要比这复杂得多…… 在本书撰写过程中,在Windows机器上运行Linux容器已经成为可能。例如,Windows版Docker(由Docker公司提供的为Windows 10设计的产品)可以在Windows容器模式和Linux容器模式之间进行切换。这是一个正在快速发展的领域,如果读者想...
View in text
Excerpt 3
notary version notary Version: 0.4.3 Git commit: 9211198 3.2 Mac版Docker(DfM) Mac版Docker也是由Docker公司提供的一个产品。读者大可以放心使用Docker,而无须先成为一个内核工程师,也不必通过很极客的方法将Docker安装到...
View in text
Excerpt 4
rm节点设置为drain状态。 本例中全部命令都应当通过PowerShell终端执行。 (1)检查当前Docker版本。 > docker version Client: Version: 1.12.2-cs2-ws-beta <Snip> Server: Version: 1.12.2-cs2-ws-beta...
View in text
Support Author
0.00
Total Amount (¥)
0
Donation Count
Please enter an amount
Minimum ¥1
You will be redirected to Alipay to complete payment, then return here.
Order created — please complete Alipay payment
{{#payUrl}} Pay with Alipay {{/payUrl}} {{^payUrl}}{{message}}
{{/payUrl}}
Donation failed:{{message}}
Log in to link the donation to your account (anonymous payment also works)
Recommended for You
{{#thumbnailUrl}}
{{/thumbnailUrl}}
{{^thumbnailUrl}}
{{/thumbnailUrl}}
Loading recommended books...
Failed to load, please try again later