Docker Swarm Cheatsheet

Cluster Status Use the following command to get the status of a cluster. This can only be run from a manager node. docker node ls This node is the "primary" manager that actually manages the cluster. The other managers are replicas there for redundancy. This node is "drained" meaning that…

Read this article

Using Traefik with Docker Swarm For Deploying Web Applications

This tutorial will show you how to get started with deploying web applications on a docker swarm cluster with Traefik. Traefik allows us to deploy multiple web applications that each "want" to be accessed on port 80/443, on the same host. It's latest support for docker swarm takes this…

Read this article

Docker Swarm Post 1.12

Docker 1.12 integrates the swarm technology into the engine, so things have changed (for the better) since we last deployed a deployed a docker swarm. This tutorial will: Deploy a swarm Demonstrate how to deploy an application to the swarm Demonstrate scaling up the application. Demonstrate the load balancing…

Read this article

Setting Up A Docker Swarm Cluster

Notice Since the 1.12 release of docker, swarm is now built into the docker engine and you should read this tutorial instead. Introduction Docker Swarm is native clustering for Docker which turns multiple Docker hosts into a single virtual Docker host. This tutorial will utilize etcd for the backend…

Read this article