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 tofalse, 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
- 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