Skip to content

Commit d693c78

Browse files
dhi: simplify compare command (docker#24921)
<!--Delete sections as needed --> ## Description Removed the extra filtering instructions in the command and asked users to find the section in the output. ## Related issues or tickets Supersedes docker#24731 ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Editorial review Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
1 parent 231a83e commit d693c78

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

content/manuals/dhi/get-started.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,19 +82,18 @@ You can quickly compare DHIs with other images to see the security
8282
improvements and differences. This comparison helps you understand the value of
8383
using hardened images.
8484

85-
Run the following command to see a summary comparison between the Docker
86-
Hardened Image for Python and the non-hardened Docker Official Image for Python
87-
from Docker Hub:
85+
Run the following command to compare the Docker Hardened Image for Python with
86+
the non-hardened Docker Official Image for Python from Docker Hub. Look for the
87+
`## Overview` section in the output for a summary comparison.
8888

8989
```console
9090
$ docker scout compare dhi.io/python:3.13 \
9191
--to python:3.13 \
9292
--platform linux/amd64 \
93-
--ignore-unchanged \
94-
2>/dev/null | sed -n '/## Overview/,/^ ## /p' | head -n -1
93+
--ignore-unchanged
9594
```
9695

97-
Example output:
96+
The `## Overview` section of the output looks similar to the following:
9897

9998
```plaintext
10099
## Overview

0 commit comments

Comments
 (0)