mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-22 23:26:39 -08:00
doc(docker): fix command to run trivy with docker on linux (#1761)
This commit is contained in:
@@ -118,7 +118,7 @@ Example:
|
|||||||
=== "Linux"
|
=== "Linux"
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
docker run --rm -v [YOUR_CACHE_DIR]:/root/.cache/ aquasec/trivy:{{ git.tag[1:] }} [YOUR_IMAGE_NAME]
|
docker run --rm -v [YOUR_CACHE_DIR]:/root/.cache/ aquasec/trivy:{{ git.tag[1:] }} image [YOUR_IMAGE_NAME]
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "macOS"
|
=== "macOS"
|
||||||
|
|||||||
Reference in New Issue
Block a user