github.com/vieux/docker@v0.6.3-0.20161004191708-e097c2a938c7/docs/reference/commandline/plugin_inspect.md (about)

     1  <!--[metadata]>
     2  +++
     3  title = "plugin inspect"
     4  description = "The plugin inspect command description and usage"
     5  keywords = ["plugin, inspect"]
     6  advisory = "experimental"
     7  [menu.main]
     8  parent = "smn_cli"
     9  +++
    10  <![end-metadata]-->
    11  
    12  # plugin inspect (experimental)
    13  
    14  ```markdown
    15  Usage:  docker plugin inspect [OPTIONS] PLUGIN [PLUGIN...]
    16  
    17  Display detailed information on one or more plugins
    18  
    19  Options:
    20        -f, --format string   Format the output using the given go template
    21            --help            Print usage
    22  ```
    23  
    24  Returns information about a plugin. By default, this command renders all results
    25  in a JSON array.
    26  
    27  Example output:
    28  
    29  ```bash
    30  $ docker plugin inspect tiborvass/no-remove:latest
    31  ```
    32  ```JSON
    33  {
    34    "Id": "8c74c978c434745c3ade82f1bc0acf38d04990eaf494fa507c16d9f1daa99c21",
    35    "Name": "tiborvass/no-remove",
    36    "Tag": "latest",
    37    "Enabled": true,
    38    "Config": {
    39      "Mounts": [
    40        {
    41          "Name": "",
    42          "Description": "",
    43          "Settable": null,
    44          "Source": "/data",
    45          "Destination": "/data",
    46          "Type": "bind",
    47          "Options": [
    48            "shared",
    49            "rbind"
    50          ]
    51        },
    52        {
    53          "Name": "",
    54          "Description": "",
    55          "Settable": null,
    56          "Source": null,
    57          "Destination": "/foobar",
    58          "Type": "tmpfs",
    59          "Options": null
    60        }
    61      ],
    62      "Env": [
    63        "DEBUG=1"
    64      ],
    65      "Args": null,
    66      "Devices": null
    67    },
    68    "Manifest": {
    69      "ManifestVersion": "v0",
    70      "Description": "A test plugin for Docker",
    71      "Documentation": "https://docs.docker.com/engine/extend/plugins/",
    72      "Interface": {
    73        "Types": [
    74          "docker.volumedriver/1.0"
    75        ],
    76        "Socket": "plugins.sock"
    77      },
    78      "Entrypoint": [
    79        "plugin-no-remove",
    80        "/data"
    81      ],
    82      "Workdir": "",
    83      "User": {
    84      },
    85      "Network": {
    86        "Type": "host"
    87      },
    88      "Capabilities": null,
    89      "Mounts": [
    90        {
    91          "Name": "",
    92          "Description": "",
    93          "Settable": null,
    94          "Source": "/data",
    95          "Destination": "/data",
    96          "Type": "bind",
    97          "Options": [
    98            "shared",
    99            "rbind"
   100          ]
   101        },
   102        {
   103          "Name": "",
   104          "Description": "",
   105          "Settable": null,
   106          "Source": null,
   107          "Destination": "/foobar",
   108          "Type": "tmpfs",
   109          "Options": null
   110        }
   111      ],
   112      "Devices": [
   113        {
   114          "Name": "device",
   115          "Description": "a host device to mount",
   116          "Settable": null,
   117          "Path": "/dev/cpu_dma_latency"
   118        }
   119      ],
   120      "Env": [
   121        {
   122          "Name": "DEBUG",
   123          "Description": "If set, prints debug messages",
   124          "Settable": null,
   125          "Value": "1"
   126        }
   127      ],
   128      "Args": {
   129        "Name": "args",
   130        "Description": "command line arguments",
   131        "Settable": null,
   132        "Value": [
   133  
   134        ]
   135      }
   136    }
   137  }
   138  ```
   139  (output formatted for readability)
   140  
   141  
   142  ```bash
   143  $ docker plugin inspect -f '{{.Id}}' tiborvass/no-remove:latest
   144  ```
   145  ```
   146  8c74c978c434745c3ade82f1bc0acf38d04990eaf494fa507c16d9f1daa99c21
   147  ```
   148  
   149  
   150  ## Related information
   151  
   152  * [plugin ls](plugin_ls.md)
   153  * [plugin enable](plugin_enable.md)
   154  * [plugin disable](plugin_disable.md)
   155  * [plugin install](plugin_install.md)
   156  * [plugin rm](plugin_rm.md)