掌握Docker扩展艺术:插件与工具驱动的可扩展性、组合与模块化

需积分: 9 6 下载量 94 浏览量 更新于2024-07-19 收藏 10.53MB PDF 举报
《Packt.Extending.Docker》是一本深入探讨如何通过利用插件和相关支持工具,使Docker变得更加可扩展、可组合和模块化的技术指南。作者 Russ McKendrick 深入浅出地讲解了Docker的核心概念以及它所解决的问题,特别关注了如何扩展Docker引擎以获取额外功能。 第1章“Introduction to Extending Docker”首先介绍了Docker的基本原理和它所面临的挑战,包括容器化带来的便利性和潜在问题。这一章强调了理解核心Docker引擎扩展的重要性,以便为后续章节中的实际操作打下坚实基础。 第2章“Introducing First-party Tools”着重于介绍Docker官方提供的工具,如Docker Toolbox、Docker Compose、Docker Machine和Docker Swarm,这些工具在日常开发和管理过程中起着关键作用,帮助用户管理和部署多容器应用。 第三章“Volume Plugins”探讨了Docker的体积插件,包括默认插件及其与第三方插件的比较,用户可以借此扩展数据存储解决方案,实现更灵活的数据管理。 第四章“Network Plugins”深入研究如何利用网络插件,让容器跨越多个Docker主机,无论是本地还是云环境,实现跨网络的容器通信和部署。 第五章“Building Your Own Plugin”是实践篇,指导读者如何设计并编写自己的Docker存储或网络插件,让读者掌握自定义扩展的核心技术。 第六章“Extending Your Infrastructure”进一步讨论如何将DevOps工具(如Kubernetes、Amazon ECS和Rancher)与Docker集成,以实现更高效、可靠的基础设施管理和容器部署。 第七章“Looking at Schedulers”详细解析如何将前面学到的知识应用于实际场景,部署和管理大规模的Kubernetes集群,以及Amazon ECS和Rancher等容器编排平台。 第八章“Security, Challenges, and Conclusions”总结全文,强调安全性的考虑,讨论从不同来源部署Docker镜像的风险,以及先前章节所涉及的各种工具的最佳应用场景。这章还提醒读者在扩展过程中可能遇到的挑战,并对整个学习过程进行回顾和反思。 《Packt.Extending.Docker》是一本适合Docker开发者和管理员深入学习和实践的实用手册,涵盖了从基础到高级的扩展技巧,有助于读者提升对Docker生态系统的理解和操控能力。
2016-06-27 上传
With Docker, it is possible to get a lot of apps running on the same old servers, making it very easy to package and ship programs. The ability to extend Docker using plugins and load third-party plugins is incredible, and organizations can massively benefit from it. In this book, you will read about what first and third party tools are available to extend the functionality of your existing Docker installation and how to approach your next Docker infrastructure deployment. We will show you how to work with Docker plugins, install it, and cover its lifecycle. We also cover network and volume plugins, and you will find out how to build your own plugin. You’ll discover how to integrate it with Puppet, Ansible, Jenkins, Flocker, Rancher, Packer, and more with third-party plugins. Then, you’ll see how to use Schedulers such as Kubernetes and Amazon ECS. Finally, we’ll delve into security, troubleshooting, and best practices when extending Docker. By the end of this book, you will learn how to extend Docker and customize it based on your business requirements with the help of various tools and plugins. What you will learn Find out about Docker plugins and the problems they solve Gain insights into creating your own plugin Use Docker tools to extend the basic functionality of the core Docker engine Get to grips with the installation and configuration of third-party tools available to use with Docker plugins Install, configure, and use a scheduling service to manage the containers in your environment Enhance your day-to-day Docker usage through security, troubleshooting, and best practices