github.com/itscaro/cli@v0.0.0-20190705081621-c9db0fe93829/docs/reference/commandline/context_use.md (about)

     1  ---
     2  title: "context use"
     3  description: "The context use command description and usage"
     4  keywords: "context, use"
     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 use
    17  
    18  ```markdown
    19  Usage:  docker context use CONTEXT
    20  
    21  Set the current docker context
    22  ```
    23  
    24  ## Description
    25  Set the default context to use, when `DOCKER_HOST`, `DOCKER_CONTEXT` environment variables and `--host`, `--context` global options are not set.
    26  To disable usage of contexts, you can use the special `default` context.