Skip to content

Commit

Permalink
Update README-dockerhub.md for podeman documentation (#678)
Browse files Browse the repository at this point in the history
* Update README-dockerhub.md for podeman documentation

* Update README-dockerhub.md
  • Loading branch information
tzurielweisberg authored Sep 14, 2023
1 parent 8ba310e commit cf614a0
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README-dockerhub.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,19 @@ 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' \
-v ${WORKSPACE}:/scanning \
docker.io/aquasec/aqua-scanner \
git config --global --add safe.directory /scanning && trivy fs --scanners='config,vuln,secret' .

```

When working within CI environment, it's important to include the Source Code Management (SCM) tokens for pull requests. You can find additional guidance and details on this matter within our platform for your reference about each SCM.

## Compatibility
The plugin is designed for Docker environments and is compatible with Linux containers.
Expand Down

0 comments on commit cf614a0

Please sign in to comment.