update option for docker commands

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 7084aa24c77bde6ed46b2a0b727d049b86ecffec
Component: engine
This commit is contained in:
yuexiao-wang
2016-09-12 18:34:44 +08:00
parent ec2041215e
commit 4e9a7b27fc
2 changed files with 7 additions and 5 deletions

View File

@ -16,11 +16,12 @@ Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...]
Return low-level information on one or multiple containers, images, volumes,
networks, nodes, services, or tasks identified by name or ID.
Options:
-f, --format Format the output using the given go template
--help Print usage
--help Print usage
-s, --size Display total file sizes if the type is container
values are "image" or "container" or "task
--type Return JSON for specified type
--type Return JSON for specified type
```
By default, this will render all results in a JSON array. If the container and