Skip to content

Commit

Permalink
Update README-dockerhub.md for podeman documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tzurielweisberg authored Sep 14, 2023
1 parent 8ba310e commit a57a80b
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README-dockerhub.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,17 @@ docker run -it aquasec/aqua-scanner trivy fs --scanners config,vuln,secret .


```bash
podman pull aquasec/aqua-scanner

podman run -it --rm --security-opt seccomp=unconfined aquasec/aqua-scanner trivy fs --scanners config,vuln,secret .
podman run --rm \
-e AQUA_KEY=${AQUA_KEY} \
-e AQUA_SECRET=${AQUA_SECRET} \
-e TRIVY_RUN_AS_PLUGIN='aqua' \
-e SAST='true' \
-e INPUT_WORKING_DIRECTORY='/scanning' \
-e GITHUB_TOKEN=${GITHUB_TOKEN} \
-e GITHUB_USER=${GITHUB_APP} \
-v ${WORKSPACE}:/scanning \
docker.io/aquasec/aqua-scanner \
git config --global --add safe.directory /scanning && trivy fs --scanners='config,vuln,secret' .

```

Expand Down

0 comments on commit a57a80b

Please sign in to comment.