docker-- build docker swarm cluster

10 structures docker swarm cluster

10.1 swarm Introduction

Swarm project name is particularly apt. In the interpretation of the Wiki, Swarm behavior refers animal cluster line is. Such as our common bees, fish, geese fly south in autumn can be called Swarm behavior. Swarm project by doing so, by more than Docker Engine gathered together to form a large docker- Engine, provide external container cluster service. At the same time this cluster provide external Swarm API (command, Docker Engine command), users can use the same use Docker Docker Engine cluster.

Docker Swarm is released in early December 2014, container management tool and Swarm distributed with Docker management tools as well as Machine and Compose. Swarm is a relatively simple tool to manage Docker cluster, making the equivalent of a virtual cluster Docker's overall exposure to the user. Swarm The group Docker host into a single, virtual hosts. Swarm using standard Docker API interfaces as its front end access entry, in other words, all forms of Client Docker (Docker Client in Go, docker_py, Docker, etc.) may communicate directly with each Swarm. Swarm almost all with Go language to complete the development, Swarm0.2 version adds a new strategy to dispatch container cluster, so that they are spread across the available nodes, as well as support hold more Docker command and clustering drive. Swarm deamon just a scheduler (Scheduler) plus router (router), Swarm do not run their own container, which docker just accept the request sent by the client, the scheduling for the node to run the container, which means that, even if for some reason Swarm hang, section cluster point will run as usual, when the Swarm to resume running, it will re-establish collect cluster information.

Guess you like

Origin www.cnblogs.com/eadela/p/11927847.html