Docker Swarm (WIP)

On master

docker swarm init

Copy/Paste docker swarm join on all other nodes

docker swarm join --token TOKEN IP_ADDRESS:2377

Create a swarm service

docker service create --name weather-app --publish published=80,target=3000 --replicas=3 weather-app

List Docker services

docker service ls

Revision #4
Created Wed, Apr 24, 2019 12:05 PM by Dave
Updated Wed, Apr 24, 2019 12:13 PM by Dave