Skip to content

Commit 12c0c13

Browse files
authored
Merge pull request #6051 from thaJeztah/inspect_fix_flags
docs: move flag examples to right section
2 parents 25a1681 + fc3ed90 commit 12c0c13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎docs/reference/commandline/inspect.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Docker inspect provides detailed information on constructs controlled by Docker.
2020

2121
By default, `docker inspect` will render results in a JSON array.
2222

23+
## Examples
24+
2325
### <a name="format"></a> Format the output (--format)
2426

2527
If a format is specified, the given template will be executed for each result.
@@ -73,8 +75,6 @@ $ docker inspect --size database -f '{{ .SizeRw }}'
7375
12288
7476
```
7577

76-
## Examples
77-
7878
### Get an instance's IP address
7979

8080
For the most part, you can pick out any field from the JSON in a fairly

0 commit comments

Comments
 (0)