DOCKER(1) Docker User Manuals DOCKER(1)

# [NAME](#NAME)

docker-context-update - Update a context

# [SYNOPSIS](#SYNOPSIS)

**docker context update \[OPTIONS] CONTEXT**

# [DESCRIPTION](#DESCRIPTION)

Update a context

Docker endpoint config:

NAME DESCRIPTION from Copy named context's Docker endpoint configuration host Docker endpoint on which to connect ca Trust certs signed only by this CA cert Path to TLS certificate file key Path to TLS key file skip-tls-verify Skip TLS certificate validation

Example:

$ docker context update my-context --description "some description" --docker "host=tcp://myserver:2376,ca=~/ca-file,cert=~/cert-file,key=~/key-file"

# [OPTIONS](#OPTIONS)

**--description**="" Description of the context

**--docker**=\[] set the docker endpoint

# [SEE ALSO](#SEE_ALSO)

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

Oct 2026 Docker Community

---

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