DOCKER(1) Docker User Manuals DOCKER(1)

# [NAME](#NAME)

docker-context-rm - Remove one or more contexts

# [SYNOPSIS](#SYNOPSIS)

**docker context rm CONTEXT \[CONTEXT...]**

# [DESCRIPTION](#DESCRIPTION)

Remove one or more contexts

# [OPTIONS](#OPTIONS)

**-f**, **--force**\[=false] Force the removal of a context in use

# [SEE ALSO](#SEE_ALSO)

[**docker-context(1)**](/man/os/docker-cli/docker-context.1)

Oct 2026 Docker Community

---

Document: docker-context-rm(1) from docker-cli 29.9.1-r0 (Chainguard OS)
Source: https://github.com/docker/cli
