deploy

Deploy a new stack or update an existing stack

  1. docker stack deploy -c stack.yml stackname

ls

List stacks

  1. docker stack ls

ps

List the tasks in the stack

  1. docker stack ps stackname

rm

Remove one or more stacks

  1. docker stack rm stackname

services

List the services in the stack

  1. docker stack services stackname