docker stack rm

Estimated reading time: 1 minute


Remove the stack


docker stack rm STACK

Parent command

Command Description
docker stack Manage Docker stacks
Command Description
docker stack deploy Deploy a new stack or update an existing stack
docker stack ls List stacks
docker stack ps List the tasks in the stack
docker stack rm Remove the stack
docker stack services List the services in the stack

Extended description

Remove the stack from the swarm. This command has to be run targeting a manager node.