github.com/itscaro/cli@v0.0.0-20190705081621-c9db0fe93829/docs/reference/commandline/context_update.md (about) 1 --- 2 title: "context update" 3 description: "The context update command description and usage" 4 keywords: "context, update" 5 --- 6 7 <!-- This file is maintained within the docker/cli GitHub 8 repository at https://github.com/docker/cli/. Make all 9 pull requests against that repo. If you see this file in 10 another repository, consider it read-only there, as it will 11 periodically be overwritten by the definitive file. Pull 12 requests which include edits to this file in other repositories 13 will be rejected. 14 --> 15 16 # context update 17 18 ```markdown 19 Usage: docker context update [OPTIONS] CONTEXT 20 21 Update a context 22 23 Docker endpoint config: 24 25 NAME DESCRIPTION 26 from Copy Docker endpoint configuration from an existing context 27 host Docker endpoint on which to connect 28 ca Trust certs signed only by this CA 29 cert Path to TLS certificate file 30 key Path to TLS key file 31 skip-tls-verify Skip TLS certificate validation 32 33 Kubernetes endpoint config: 34 35 NAME DESCRIPTION 36 from Copy Kubernetes endpoint configuration from an existing context 37 config-file Path to a Kubernetes config file 38 context-override Overrides the context set in the kubernetes config file 39 namespace-override Overrides the namespace set in the kubernetes config file 40 41 Example: 42 43 $ docker context update my-context --description "some description" --docker "host=tcp://myserver:2376,ca=~/ca-file,cert=~/cert-file,key=~/key-file" 44 45 Options: 46 --default-stack-orchestrator string Default orchestrator for 47 stack operations to use with 48 this context 49 (swarm|kubernetes|all) 50 --description string Description of the context 51 --docker stringToString set the docker endpoint 52 (default []) 53 --kubernetes stringToString set the kubernetes endpoint 54 (default []) 55 ``` 56 57 ## Description 58 59 Updates an existing `context`. 60 See [context create](context_create.md)