github.com/brahmaroutu/docker@v1.2.1-0.20160809185609-eb28dde01f16/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 PLUGIN 16 17 Inspect a plugin 18 19 Options: 20 --help Print usage 21 ``` 22 23 Returns information about a plugin. By default, this command renders all results 24 in a JSON array. 25 26 Example output: 27 28 ```bash 29 $ docker plugin inspect tiborvass/no-remove:latest 30 ``` 31 ```JSON 32 { 33 "Id": "8c74c978c434745c3ade82f1bc0acf38d04990eaf494fa507c16d9f1daa99c21", 34 "Name": "tiborvass/no-remove", 35 "Tag": "latest", 36 "Active": true, 37 "Config": { 38 "Mounts": [ 39 { 40 "Name": "", 41 "Description": "", 42 "Settable": null, 43 "Source": "/data", 44 "Destination": "/data", 45 "Type": "bind", 46 "Options": [ 47 "shared", 48 "rbind" 49 ] 50 }, 51 { 52 "Name": "", 53 "Description": "", 54 "Settable": null, 55 "Source": null, 56 "Destination": "/foobar", 57 "Type": "tmpfs", 58 "Options": null 59 } 60 ], 61 "Env": [ 62 "DEBUG=1" 63 ], 64 "Args": null, 65 "Devices": null 66 }, 67 "Manifest": { 68 "ManifestVersion": "v0", 69 "Description": "A test plugin for Docker", 70 "Documentation": "https://docs.docker.com/engine/extend/plugins/", 71 "Interface": { 72 "Types": [ 73 "docker.volumedriver/1.0" 74 ], 75 "Socket": "plugins.sock" 76 }, 77 "Entrypoint": [ 78 "plugin-no-remove", 79 "/data" 80 ], 81 "Workdir": "", 82 "User": { 83 }, 84 "Network": { 85 "Type": "host" 86 }, 87 "Capabilities": null, 88 "Mounts": [ 89 { 90 "Name": "", 91 "Description": "", 92 "Settable": null, 93 "Source": "/data", 94 "Destination": "/data", 95 "Type": "bind", 96 "Options": [ 97 "shared", 98 "rbind" 99 ] 100 }, 101 { 102 "Name": "", 103 "Description": "", 104 "Settable": null, 105 "Source": null, 106 "Destination": "/foobar", 107 "Type": "tmpfs", 108 "Options": null 109 } 110 ], 111 "Devices": [ 112 { 113 "Name": "device", 114 "Description": "a host device to mount", 115 "Settable": null, 116 "Path": "/dev/cpu_dma_latency" 117 } 118 ], 119 "Env": [ 120 { 121 "Name": "DEBUG", 122 "Description": "If set, prints debug messages", 123 "Settable": null, 124 "Value": "1" 125 } 126 ], 127 "Args": { 128 "Name": "args", 129 "Description": "command line arguments", 130 "Settable": null, 131 "Value": [ 132 133 ] 134 } 135 } 136 } 137 ``` 138 (output formatted for readability) 139 140 141 142 ## Related information 143 144 * [plugin ls](plugin_ls.md) 145 * [plugin enable](plugin_enable.md) 146 * [plugin disable](plugin_disable.md) 147 * [plugin install](plugin_install.md) 148 * [plugin rm](plugin_rm.md)