mirror of
https://github.com/docker/cli.git
synced 2026-01-06 05:41:44 +03:00
Updates on cli reference documentation
- Update ps with `--last` flag - Update commands with current output - Make sure hugo does not detect the wrong language - Update usage for `tag` command to be more coherent with the other ones Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
committed by
Tibor Vass
parent
e632408a37
commit
3ebe3fe752
@@ -10,15 +10,17 @@ parent = "smn_cli"
|
||||
|
||||
# inspect
|
||||
|
||||
Usage: docker inspect [OPTIONS] CONTAINER|IMAGE|TASK [CONTAINER|IMAGE|TASK...]
|
||||
```markdown
|
||||
Usage: docker inspect [OPTIONS] CONTAINER|IMAGE|TASK [CONTAINER|IMAGE|TASK...]
|
||||
|
||||
Return low-level information on a container or image or task
|
||||
Return low-level information on a container, image or task
|
||||
|
||||
-f, --format="" Format the output using the given go template
|
||||
--help Print usage
|
||||
--type=container|image|task Return JSON for specified type, permissible
|
||||
values are "image" or "container" or "task"
|
||||
-s, --size Display total file sizes if the type is container
|
||||
-f, --format Format the output using the given go template
|
||||
--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, (e.g image, container or task)
|
||||
```
|
||||
|
||||
By default, this will render all results in a JSON array. If the container and
|
||||
image have the same name, this will return container JSON for unspecified type.
|
||||
|
||||
Reference in New Issue
Block a user