mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 15:37:50 -08:00
docs: fix Installation documentation (#1804)
* Add missing `image` argument in the Installation docs->Docker section for MacOS.
This commit is contained in:
@@ -124,7 +124,7 @@ Example:
|
|||||||
=== "macOS"
|
=== "macOS"
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
docker run --rm -v $HOME/Library/Caches:/root/.cache/ aquasec/trivy:{{ git.tag[1:] }} python:3.4-alpine
|
docker run --rm -v $HOME/Library/Caches:/root/.cache/ aquasec/trivy:{{ git.tag[1:] }} image [YOUR_IMAGE_NAME
|
||||||
```
|
```
|
||||||
|
|
||||||
If you would like to scan the image on your host machine, you need to mount `docker.sock`.
|
If you would like to scan the image on your host machine, you need to mount `docker.sock`.
|
||||||
|
|||||||
Reference in New Issue
Block a user