1
0
mirror of https://github.com/docker/cli.git synced 2025-07-30 17:03:07 +03:00

Flag Addition: --type flag added for docker inspect command

Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com>
This commit is contained in:
Shishir Mahajan
2015-06-26 10:47:31 -04:00
committed by Tibor Vass
parent 7cd538db6f
commit 24e7d40f42
3 changed files with 31 additions and 7 deletions

View File

@ -17,6 +17,9 @@ weight=1
-f, --format="" Format the output using the given go template
--type=container|image Return JSON for specified type, permissible
values are "image" or "container"
By default, this will render all results in a JSON array. If a format is
specified, the given template will be executed for each result.