Skip to content

Commit

Permalink
docs: use footnotes
Browse files Browse the repository at this point in the history
Signed-off-by: knqyf263 <knqyf263@gmail.com>
  • Loading branch information
knqyf263 committed Jan 30, 2025
1 parent e5574ca commit c72cbcb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/docs/target/container_image.md
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ $ trivy image --podman-host /run/user/1000/podman/podman.sock YOUR_IMAGE
```

### Prevent scanning oversized container images
Use the `--max-image-size` flag to avoid scanning images that exceed a specified size. The size is specified in a human-readable format (e.g., `100MB`, `10GB`).
Use the `--max-image-size` flag to avoid scanning images that exceed a specified size. The size is specified in a human-readable format[^1] (e.g., `100MB`, `10GB`).

An error is returned in the following cases:

Expand All @@ -544,5 +544,4 @@ Error Output:
Error: uncompressed image size (15GB) exceeds maximum allowed size (10GB)
```

!!! note
Trivy displays size using decimal (SI) prefixes (based on 1000).
[^1]: Trivy uses decimal (SI) prefixes (based on 1000) for size.

0 comments on commit c72cbcb

Please sign in to comment.