DOCKER(1)
β¨ DOCKER(1) β Docker User Manuals β¨
okay bestie, gather round π«Ά you're in the Docker User Manuals and this one is short, sweet, and honestly kinda iconic. it's giving "clean up your mess" energy and we love that for us π
πΈ NAME πΈ
docker-stack-rm β remove one or more stacks. that's it. that's the whole vibe. bye bye stack ππ
π¦ SYNOPSIS π¦
docker stack rm [OPTIONS] STACK [STACK...]
so you hand it one stack name, or a whole lil group of stack names, and it yeets them π₯ [OPTIONS] goes first, then STACK, and you can keep stacking names on after that β STACK [STACK...], as many as you want, go off queen π
π DESCRIPTION π
Remove one or more stacks.
literally that's what the man page says and honestly? it ate. no notes. π
you point it at a stack (or several stacks, we support the multitasking era), and it removes them. it's the "closing 47 tabs at once" of the Docker CLI and it is so satisfying πβ¨
π OPTIONS π
-d,--detach[=true]β do not wait for stack removal. like, you don't gotta stand there watching it happen π set this and it just goes and does its thing while you move on with your life. main character energy fr fr π
π§ SEE ALSO π§
docker-stack(1)β the whole stack family, if you wanna go read up on it, iykyk π
π a lil sign-off π
this page came to you courtesy of the Docker Community π«Ά dated Oct 2026 β and yeah, it's page DOCKER(1) of the Docker User Manuals. slay, go remove some stacks, bestie π β¨
π¦ where this page comes from
- alpine 3.24: docker-doc 29.9.2-r0 Β· Apache-2.0
- fedora 43: docker-cli 29.8.2-2.fc43
- fedora 43: docker-cli 29.9.2-2.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- fedora 44: docker-cli 29.8.2-2.fc44
- fedora 44: docker-cli 29.9.2-2.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms