Skip to content

Commit

Permalink
docs: Update container_image.md #5182 (#5193)
Browse files Browse the repository at this point in the history
Co-authored-by: Teppei Fukuda <knqyf263@gmail.com>
  • Loading branch information
mehrdadbn9 and knqyf263 authored Oct 16, 2023
1 parent 5b2b4ea commit 57a1022
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docs/docs/target/container_image.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,6 @@ 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:

```shell
$ trivy image --scanners none --image-config-scanners secret vuln-image
```

<details>
<summary>Result</summary>

Expand Down

0 comments on commit 57a1022

Please sign in to comment.