docs: fix Installation documentation (#1804)

* Add missing `image` argument in the Installation docs->Docker section for MacOS.
This commit is contained in:
Ricardo
2022-03-13 09:59:01 +00:00
committed by GitHub
parent e50839bb40
commit 0fca2cda91

View File

@@ -124,7 +124,7 @@ Example:
=== "macOS"
``` 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`.