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