Book Image

Docker Orchestration

By : Randall Smith
Book Image

Docker Orchestration

By: Randall Smith

Overview of this book

Docker orchestration is what you need when transitioning from deploying containers individually on a single host to deploying complex multi-container apps on many machines. This book covers the new orchestration features of Docker 1.12 and helps you efficiently build, test, and deploy your application using Docker. You will be shown how to build multi-container applications using Docker Compose. You will also be introduced to the building blocks for multi-host Docker clusters such as registry, overlay networks, and shared storage using practical examples. This book gives an overview of core tools such as Docker Machine, Swarm, and Compose which will enhance your orchestration skills. You’ll learn how to set up a swarm using the decentralized building block. Next, you’ll be shown how to make the most out of the in-built orchestration feature of Docker engine and you’ll use third-party tools such as Kubernetes, Mesosphere, and CoreOS to orchestrate your existing process. Finally, you will learn to deploy cluster hosts on cloud services and automate your infrastructure.
Table of Contents (17 chapters)
Docker Orchestration
About the Author
About the Reviewer
Customer Feedback

Using Fleet

Fleet was developed by the CoreOS company as a way of managing containers in CoreOS clusters. It is a low-level tool that other tools can build upon. Fleet has limits of approximately 100 nodes and 1,000 services. Having said that, for a small cluster, it can be just enough orchestration to meet the needs of your organization. It can also provide a solid base to build in-house processes.

Like all Docker orchestration tools, Fleet requires an overlay network. CoreOS ships with Flannel installed, but any Docker overlay network can be used. This includes the Docker native overlay and Weave Net. Overlay networks were described in Chapter 3, Cluster Building Blocks – Registry, Overlay Networks, and Shared Storage. It is important to note that neither Flannel nor Fleet provide any sort of service discovery. If that feature is needed, an overlay network which provides service discovery, such as Weave Net, may be used instead.

Starting Fleet

Since Fleet was developed by CoreOS, that is...