-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Update container_image.md #5182 #5193
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -171,11 +171,10 @@ See [here](../scanner/secret.md) for the detail. | |
$ trivy image --image-config-scanners secret [YOUR_IMAGE_NAME] | ||
``` | ||
|
||
If you just want to scan the image config, you can disable scanners with `--scanners none`. | ||
For example: | ||
If you just want to scan the image config.For example: | ||
|
||
```shell | ||
$ trivy image --scanners none --image-config-scanners secret vuln-image | ||
$ trivy image --image-config-scanners secret vuln-image | ||
``` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line breaks the document. You can build the doc with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i will check it and i will let you know tnx |
||
|
||
<details> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This command is the same as the above one. We can remove these lines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I appreciate your kindness and you were right I omitted duplicate one.