github.com/sld880311/docker@v0.0.0-20200524143708-d5593973a475/docs/reference/commandline/stack_rm.md (about) 1 --- 2 title: "stack rm" 3 description: "The stack rm command description and usage" 4 keywords: "stack, rm, remove, down" 5 --- 6 7 <!-- This file is maintained within the docker/docker Github 8 repository at https://github.com/docker/docker/. Make all 9 pull requests against that repo. If you see this file in 10 another repository, consider it read-only there, as it will 11 periodically be overwritten by the definitive file. Pull 12 requests which include edits to this file in other repositories 13 will be rejected. 14 --> 15 16 # stack rm 17 18 ```markdown 19 Usage: docker stack rm STACK 20 21 Remove the stack 22 23 Aliases: 24 rm, remove, down 25 26 Options: 27 --help Print usage 28 ``` 29 30 ## Description 31 32 Remove the stack from the swarm. This command has to be run targeting 33 a manager node. 34 35 ## Related commands 36 37 * [stack deploy](stack_deploy.md) 38 * [stack ls](stack_ls.md) 39 * [stack ps](stack_ps.md) 40 * [stack services](stack_services.md)