售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Extending Docker
Table of Contents
Extending Docker
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
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
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
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
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
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
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
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
Kubernetes Dashboard
Grafana
ELK
Remaining cluster 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
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜