From 35d7fbc8183d72a73f670176a82123f3a4c44266 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 7 Jan 2023 12:24:14 +0100 Subject: [PATCH] docs: inspect: remove trailing whitespace from example Current versions of the docs generator take this into account, but on the 20.10 branch, the trailing whitespace can make the YAML generator switch to use "compact" formatting, which is hard to read, and hard to review diffs when updating. 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 c7a2ee1a8f..9174dc077d 100644 --- a/docs/reference/commandline/inspect.md +++ b/docs/reference/commandline/inspect.md @@ -66,9 +66,9 @@ $ docker run --name database -d redis 3b2cbf074c99db4a0cad35966a9e24d7bc277f5565c17233386589029b7db273 $ docker inspect --size database -f '{{ .SizeRootFs }}' 123125760 -$ docker inspect --size database -f '{{ .SizeRw }}' +$ docker inspect --size database -f '{{ .SizeRw }}' 8192 -$ docker exec database fallocate -l 1000 /newfile +$ docker exec database fallocate -l 1000 /newfile $ docker inspect --size database -f '{{ .SizeRw }}' 12288 ```