Remove a deployed stack.
Section: Swarm Services
Remove a stack
bash
bash
docker stack rm mystackExplanation
Stops and removes the stack's services and networks.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Swarm Services