From fc3ed90e3ab194c0059bf027c92b7901aa0128af Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 6 May 2025 13:28:50 +0200 Subject: [PATCH] docs: move flag examples to right section When generating our docs, flag-descriptions are currently expected to be under the "examples" section for them to be linked correctly. Signed-off-by: Sebastiaan van Stijn --- docs/reference/commandline/inspect.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/commandline/inspect.md b/docs/reference/commandline/inspect.md index b566c5ae4d..ce25827e85 100644 --- a/docs/reference/commandline/inspect.md +++ b/docs/reference/commandline/inspect.md @@ -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. +## Examples + ### Format the output (--format) 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 ``` -## Examples - ### Get an instance's IP address For the most part, you can pick out any field from the JSON in a fairly