From c72cbcb3f42064539d431a7f862f74045ed0e0fc Mon Sep 17 00:00:00 2001 From: knqyf263 Date: Thu, 30 Jan 2025 11:40:19 +0400 Subject: [PATCH] docs: use footnotes Signed-off-by: knqyf263 --- docs/docs/target/container_image.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/docs/target/container_image.md b/docs/docs/target/container_image.md index 2c469930cfdd..5604003ac608 100644 --- a/docs/docs/target/container_image.md +++ b/docs/docs/target/container_image.md @@ -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: @@ -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.