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