"Docker Swarm entry" series of translator order

At the DockerCon European Conference in December 2014, Docker officially released a new choreography service, which was made up of three new platforms , Docker Machine, Docker Swarm and Docker Compose. As the launch of the service is not long, the relevant information is relatively small. Matt Bajor, author of this series, is keen on the study of Docker and its related products. This series of articles translated from his blog, mainly on the Docker Swarm for a specific introduction, hoping to learn from the reader Docker scheduling services in the process play a reference role.

This series is derived from the author's research results in the company's hacker week, the article not only on the Docker Swarm principles and architecture of a more in-depth explanation, but also introduced the use of Docker Swarm practical examples. Through this series of articles, readers can not only understand the Docker Swarm service itself, but also familiar with Swarm related to other related areas, such as cluster management, service discovery, scheduling mechanism and so on.

The first part is the introduction of Docker Swarm, the author introduced the Swarm basic concepts and related background, also introduced its basic working principle and commonly used commands. Swarm is the biggest feature is the original Docker command to interact with the cluster, the user interaction with the Swarm cluster feels like a Docker host directly interact, although Swarm is still in the Alpha stage, because of its ingenious design concept and Quickly update the speed, I believe will be a very promising technology.

The second part introduces Swarm's basic operating environment and related configurations. This part deals with the knowledge of many related fields and the use of open source services. The paper first introduces how to configure the service discovery function of Swarm, and introduces the configuration process of node discovery, file discovery, Consul discovery, EtcD discovery and Zookeeper discovery. The author also introduced the Swarm scheduling mechanism and how to use the transport layer security protocol during the interaction process.

The third part describes Swarm's SOA architecture with practical examples. The author divides Swarm's SOA architecture into several aspects of the program layer, cluster layer, service discovery layer and routing layer, and introduces it in detail. Most of the relevant articles before the basic order from the point of view, this article from the framework of the introduction, allowing readers to the entire Swarm function has a more in-depth grasp.

The fourth section describes a practical use case where the author tries to run the Docker Swarm cluster in a Vagrant environment that describes the process of creating and interacting with the cluster. In the author's view, using Docker through Docker Swarm will change the way the Docker container is used, and can greatly simplify the creation of complex applications.

This series of translation work completed by Tian Hao Hao, the community of Guo Lei and Wang Zhe assisted the proofreading. Hope to help everyone, please also promptly pointed out that the text inappropriate translation in order to correct. The following is the article directory of this series:

Docker Swarm Getting Started (1) Overview

Getting Started with Docker Swarm (2) Configuration Options and Requirements

Getting Started with Docker Swarm (3) Swarm SOA

Docker Swarm Getting Started (4) Demo

Heads up! This alert needs your attention, but it's not super important.