DOCKER(1)

πŸ’… DOCKER(1) β€” the Docker User Manuals era ✨

okay bestie, welcome to the Docker User Manuals 🫢 you're literally about to learn how to yeet a context into the void, and honestly? iconic behavior.


🌸 NAME 🌸

docker-context-rm β€” Remove one or more contexts πŸ’€βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

docker context rm CONTEXT [CONTEXT...]

πŸ¦‹ DESCRIPTION πŸ¦‹

Remove one or more contexts.

like. that's it. that's the whole thing. you point at one or more CONTEXTs and they get removed, no cap. gone. deleted. not me being dramatic about it, that's genuinely what it does πŸ’…


✨ OPTIONS ✨

  • -f, --force[=false] β€” Force the removal of a context in use. so if a context is currently being used and it's giving "you can't sit with us", this flag is your main character energy and makes it happen anyway πŸ”₯ (defaults to false, so by default it will not do that β€” the [=false] is right there telling you so πŸ‘‘)

🌈 SEE ALSO 🌈

go read that one too, it's the whole context family, iykyk πŸ’œ


and that's the vibe check, bestie β€” you're officially a context-removing legend ⭐

this page came from the Docker Community, dated Oct 2026 πŸ’–

πŸ“¦ where this page comes from