Rolling Upgrade

Zero Downtime Deployment with Docker Stack and Spring Boot

Playing around with Docker Swarm mode really makes fun: you only need a single command to initialize a cluster on your local machine. The following line configures your Docker Engine as Docker Swarm manager: docker swarm init The command output already tells you how to add additional worker nodes and looks similar to this: docker swarm join \ --token SWMTKN-1-somecharacters-andmorecharacters \ You don’t necessarily have to add additional worker nodes, because the manager node can also be used as worker.