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

     1  ---
     2  title: "context inspect"
     3  description: "The context inspect command description and usage"
     4  keywords: "context, inspect"
     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 inspect
    17  
    18  ```markdown
    19  Usage:  docker context inspect [OPTIONS] [CONTEXT] [CONTEXT...]
    20  
    21  Display detailed information on one or more contexts
    22  
    23  Options:
    24    -f, --format string   Format the output using the given Go template
    25  ```
    26  
    27  ## Description
    28  
    29  Inspects one or more contexts.
    30  
    31  ## Examples
    32  
    33  ### Inspect a context by name
    34  
    35  ```bash
    36  $ docker context inspect "local+aks"
    37  
    38  [
    39      {
    40          "Name": "local+aks",
    41          "Metadata": {
    42              "Description": "Local Docker Engine + Azure AKS endpoint",
    43              "StackOrchestrator": "kubernetes"
    44          },
    45          "Endpoints": {
    46              "docker": {
    47                  "Host": "npipe:////./pipe/docker_engine",
    48                  "SkipTLSVerify": false
    49              },
    50              "kubernetes": {
    51                  "Host": "https://simon-aks-***.hcp.uksouth.azmk8s.io:443",
    52                  "SkipTLSVerify": false,
    53                  "DefaultNamespace": "default"
    54              }
    55          },
    56          "TLSMaterial": {
    57              "kubernetes": [
    58                  "ca.pem",
    59                  "cert.pem",
    60                  "key.pem"
    61              ]
    62          },
    63          "Storage": {
    64              "MetadataPath": "C:\\Users\\simon\\.docker\\contexts\\meta\\cb6d08c0a1bfa5fe6f012e61a442788c00bed93f509141daff05f620fc54ddee",
    65              "TLSPath": "C:\\Users\\simon\\.docker\\contexts\\tls\\cb6d08c0a1bfa5fe6f012e61a442788c00bed93f509141daff05f620fc54ddee"
    66          }
    67      }
    68  ]
    69  ```