mirror of https://github.com/docker/cli.git
add -f to plugin inspect
Signed-off-by: Victor Vieux <vieux@docker.com> Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
2ff594515f
commit
7ebb7c738a
|
@ -17,6 +17,7 @@ Usage: docker plugin inspect PLUGIN
|
|||
Inspect a plugin
|
||||
|
||||
Options:
|
||||
-f, --format string Format the output using the given go template
|
||||
--help Print usage
|
||||
```
|
||||
|
||||
|
@ -138,6 +139,13 @@ $ docker plugin inspect tiborvass/no-remove:latest
|
|||
(output formatted for readability)
|
||||
|
||||
|
||||
```bash
|
||||
$ docker plugin inspect -f '{{.Id}}' tiborvass/no-remove:latest
|
||||
```
|
||||
```
|
||||
8c74c978c434745c3ade82f1bc0acf38d04990eaf494fa507c16d9f1daa99c21
|
||||
```
|
||||
|
||||
|
||||
## Related information
|
||||
|
||||
|
|
Loading…
Reference in New Issue