Skip to content

Commit

Permalink
docs: fix Installation documentation (aquasecurity#1804)
Browse files Browse the repository at this point in the history
* Add missing `image` argument in the Installation docs->Docker section for MacOS.
  • Loading branch information
ricardolyn authored Mar 13, 2022
1 parent e50839b commit 0fca2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 0fca2cd

Please sign in to comment.