万本电子书0元读

万本电子书0元读

顶部广告

Extending Docker电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Russ McKendrick

出  版  社:Packt Publishing

出版时间:2016-06-01

字       数:257.0万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Master the art of making Docker more extensible, composable, and modular by leveraging plugins and other supporting tools About This Book Get the first book on the market that shows you how to extend the capabilities of Docker using plugins and third-party tools 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 Who This Book Is For This 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! 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 In Detail 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. Style and approach An easy to follow guide with plenty of hands-on practical examples which can be executed both on your local machine or externally hosted services.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部