Docker Swarm Cheatsheet

Stacks

Deploy stacks from docker composed file:

docker stack deploy --compose-file docker-compose.yml stackdemo

Check running stacks:

docker stack services stackdemo

Bring stack down:

docker stack rm

Registry

Bring registry down:

docker service rm

Last updated