Skip to content
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

Merged
merged 3 commits into from
Oct 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions docs/docs/target/container_image.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Collaborator

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.

Copy link
Contributor Author

@mehrdadbn9 mehrdadbn9 Sep 16, 2023

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.

```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line breaks the document. You can build the doc with mage docs:serve and see how it looks.
https://aquasecurity.github.io/trivy/v0.45/community/contribute/pr/#documentation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i will check it and i will let you know tnx


<details>
Expand Down
Loading