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
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Using Rancher Cattle


The word "Simpler" in the title is a bit of a misnomer when applied to Rancher Cattle. Cattle is a fully featured orchestration system available with Rancher. It is simpler to set up than Kubernetes or Mesosphere. It is also easier to use due to a robust web interface and command-line tool based on Docker Compose. If you have already used Docker Compose, you may be quite comfortable with Cattle.

Installing Rancher

Rancher and its components run in Docker containers. This makes it very easy to install almost anywhere.

Installing Rancher server

The Rancher server can be added to any existing Docker cluster. The only requirement is that it is running Docker 1.10.3 or higher. A quick and dirty install for testing is as simple as running docker run -d -p 8080:8080 rancher/server. The web interface will then be available at port 8080 on your Docker host.

For a permanent solution, the Rancher data will need to be stored in a volume or connected to an external MySQL database. The...