
Extending Docker
Beschreibung
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
- [*] Master the skills of creating various plugins and integrating great tools in order to enhance the functionalities of Docker
- [*] A practical and learning guide that ensures your investment in Docker becomes more valuable
Book DescriptionWith 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
Who this book is forThis book is for developers and sys admins who are well versed Docker and have knowledge on basic programming languages. If you can't wait to extend Docker and customize it to meet your requirements, this is the book for you!
Weitere Details
Person
Russ McKendrick is an experienced DevOps practitioner and system administrator with a passion for automation and containers. He has been working in IT and related industries for the better part of 30 years. During his career, he has had responsibilities in many different sectors, including first-line, second-line, and senior support in client-facing and internal teams for small and large organizations. He works almost exclusively with Linux, using open source systems and tools across dedicated hardware and virtual machines hosted in public and private clouds at Node4, where he holds the title of practice manager (SRE and DevOps). He also buys way too many records!
Inhalt
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Table of Contents
- Preface
- Chapter 1: Introduction to Extending Docker
- The rise of Docker
- Dedicated machines
- Virtual machines
- Dedicated versus virtual machines
- Containers
- Everyone should be using Docker?
- Life cycle of a container
- Installing Docker
- What are the limits?
- Summary
- Chapter 2: Introducing First-party Tools
- Docker Toolbox
- Why install Docker locally?
- Installing Docker Toolbox
- Docker Machine
- Developing locally
- Heading into the cloud
- The DigitalOcean driver
- The Amazon Web Services driver
- Other considerations
- Docker Swarm
- Creating a local cluster
- Creating a Remote Cluster
- Discovery backends
- Docker Compose
- Why Compose?
- Compose files
- Launching more
- Summary
- Chapter 3: Volume Plugins
- Zero volumes
- The default volume driver
- Third-party volume drivers
- Installing Convoy
- Launching containers with a Convoy volume
- Creating a snapshot using Convoy
- Backing up our Convoy snapshot
- Restoring our Convoy backups
- Summing up Convoy
- Block volumes using REX-Ray
- Installing REX-Ray
- Moving the REX-Ray volume
- Summing up REX-Ray
- Flocker and Volume Hub
- Forming your Flock
- Deploying into the Flock
- Summing up Flocker
- Summary
- Chapter 4: Network Plugins
- Docker networking
- Multi-host networking with overlays
- Launching Discovery
- Readying the Swarm
- Adding the overlay network
- Using the overlay network
- Back to Consul
- Composing multi-host networks
- Summing up multi-host networking
- Weaving a network
- Configuring a Cluster again
- Installing and configuring Weave
- Docker Compose and Weave
- Weave Scope
- Calling off the Swarm
- Weavemesh Driver
- Summarizing Weave
- Summary
- Chapter 5: Building Your Own Plugin
- Third-party plugins
- Convoy
- REX-Ray
- Flocker
- Weave
- The commonalities among the plugins
- Understanding a plugin
- Discovery
- Startup order
- Activation
- API calls
- Writing your plugin service
- Summary
- Chapter 6: Extending Your Infrastructure
- Why use these tools?
- Puppetize all the things
- Docker and Puppet
- A more advanced Puppet example
- A final note about Puppet
- Orchestration with Ansible
- Preparation
- The playbook
- Section one
- Section Two
- Section three
- Section four
- Ansible and Puppet
- Vagrant (again)
- Provisioning using Vagrant
- The Vagrant Docker provider
- Packaging images
- An application
- The Docker way
- Building with Packer
- Packer versus Docker Build
- Image summary
- Serving up Docker with Jenkins
- Preparing the environment
- Creating an application
- Creating a pipeline
- Summing up Jenkins
- Summary
- Chapter 7: Looking at Schedulers
- Getting started with Kubernetes
- Installing Kubernetes
- Launching our first Kubernetes application
- An advanced example
- Creating the volumes
- Launching MySQL
- Launching WordPress
- Supporting tools
- Destroying the cluster
- Recap
- Amazon EC2 Container Service (ECS)
- Launching ECS in the console
- Recap
- Rancher
- Installing Rancher
- Securing your Rancher installation
- Cattle cluster
- Deploying the Cluster application
- What's going on in the background?
- The catalog
- WordPress
- Storage
- Clustered database
- Looking at WordPress again
- DNS
- Docker & Rancher Compose
- Docker Compose
- Rancher Compose
- Back to where we started
- Removing the hosts
- Summing up Rancher
- Summary
- Chapter 8: Security, Challenges, and Conclusions
- Securing your containers
- Docker Hub
- Dockerfile
- Official images
- Pushed images
- Docker Cloud
- Private registries
- The challenges
- Development
- Staging
- Production
- Summary
- Index
Systemvoraussetzungen
Dateiformat: ePUB
Kopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
- Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).
- Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions oder die App PocketBook (siehe E-Book Hilfe).
- E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)
Das Dateiformat ePUB ist sehr gut für Romane und Sachbücher geeignet – also für „fließenden” Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an.
Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.
Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.