github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/cli/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  # context inspect
     8  
     9  ```markdown
    10  Usage:  docker context inspect [OPTIONS] [CONTEXT] [CONTEXT...]
    11  
    12  Display detailed information on one or more contexts
    13  
    14  Options:
    15    -f, --format string   Format the output using the given Go template
    16  ```
    17  
    18  ## Description
    19  
    20  Inspects one or more contexts.
    21  
    22  ## Examples
    23  
    24  ### Inspect a context by name
    25  
    26  ```bash
    27  $ docker context inspect "local+aks"
    28  
    29  [
    30    {
    31      "Name": "local+aks",
    32      "Metadata": {
    33        "Description": "Local Docker Engine + Azure AKS endpoint",
    34        "StackOrchestrator": "kubernetes"
    35      },
    36      "Endpoints": {
    37        "docker": {
    38          "Host": "npipe:////./pipe/docker_engine",
    39          "SkipTLSVerify": false
    40        },
    41        "kubernetes": {
    42          "Host": "https://simon-aks-***.hcp.uksouth.azmk8s.io:443",
    43          "SkipTLSVerify": false,
    44          "DefaultNamespace": "default"
    45        }
    46      },
    47      "TLSMaterial": {
    48        "kubernetes": [
    49          "ca.pem",
    50          "cert.pem",
    51          "key.pem"
    52        ]
    53      },
    54      "Storage": {
    55        "MetadataPath": "C:\\Users\\simon\\.docker\\contexts\\meta\\cb6d08c0a1bfa5fe6f012e61a442788c00bed93f509141daff05f620fc54ddee",
    56        "TLSPath": "C:\\Users\\simon\\.docker\\contexts\\tls\\cb6d08c0a1bfa5fe6f012e61a442788c00bed93f509141daff05f620fc54ddee"
    57      }
    58    }
    59  ]
    60  ```