Getting Started with Docker Swarm: Part 1
We’ve spent a lot of time reviewing Docker and Amazon’s Elastic Cloud Compute (EC2) Container Service (ECS) as a strategy for clustering Docker containers. In this article we’re going to review the native clustering support that Docker provides through its Docker Swarm solution.
Introduction to Docker Swarm
Docker Swarm is Docker’s native clustering technology. It works very well with the Docker command line tools like docker and docker-machine, and provides the basic ability to deploy a Docker container to a collection of machines running the Docker Engine. Docker Swarm does differ in scope, however, from what we saw when reviewing Amazon ECS.
Amazon ECS leverages its own technology stack to run Docker containers. This includes EC2 instances to host the virtual machines, auto-scaling to scale those virtual machines up and down, Elastic Load Balancers (ELB) to distribute load to your Docker containers, and more.
Docker Swarm, on the other hand, is only a clustering technology: you register the servers that can run Docker Containers with Swarm and Swarm will deploy containers to those machines. It is your responsibility to start and stop machines, register and deregister machines with Swarm, and register and deregister your containers with your own load balancing solution.
Read the entire article here, Getting Started with Docker Swarm: Part 1
via the fine folks at VMTurbo!