docker context update
Update a context
Usage
docker context update [OPTIONS] CONTEXT
Description
Updates an existing context
.
See
context create.
Options
Option | Short | Default | Description |
---|---|---|---|
--default-stack-orchestrator | Deprecated Default orchestrator for stack operations to use with this context (swarm|kubernetes|all) | ||
--description | Description of the context | ||
--docker | set the docker endpoint | ||
--kubernetes | Deprecated Kubernetes set the kubernetes endpoint |
Examples
Update an existing context
$ docker context update \
--description "some description" \
--docker "host=tcp://myserver:2376,ca=~/ca-file,cert=~/cert-file,key=~/key-file" \
my-context