Merge pull request #6051 from thaJeztah/inspect_fix_flags
docs: move flag examples to right section
This commit is contained in:
commit
12c0c13c3b
@ -20,6 +20,8 @@ Docker inspect provides detailed information on constructs controlled by Docker.
|
|||||||
|
|
||||||
By default, `docker inspect` will render results in a JSON array.
|
By default, `docker inspect` will render results in a JSON array.
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
### <a name="format"></a> Format the output (--format)
|
### <a name="format"></a> Format the output (--format)
|
||||||
|
|
||||||
If a format is specified, the given template will be executed for each result.
|
If a format is specified, the given template will be executed for each result.
|
||||||
@ -73,8 +75,6 @@ $ docker inspect --size database -f '{{ .SizeRw }}'
|
|||||||
12288
|
12288
|
||||||
```
|
```
|
||||||
|
|
||||||
## Examples
|
|
||||||
|
|
||||||
### Get an instance's IP address
|
### Get an instance's IP address
|
||||||
|
|
||||||
For the most part, you can pick out any field from the JSON in a fairly
|
For the most part, you can pick out any field from the JSON in a fairly
|
||||||
|
Loading…
x
Reference in New Issue
Block a user