Quick Start
ghcr.io/garagon/aguara and updated with every release.
Image tags
| Tag | Description |
|---|---|
latest | Latest stable release |
v0.5.0 | Specific version (recommended for CI) |
main | Latest commit from main branch (unstable) |
Dockerfile
The official Aguara image is built from this Dockerfile:git to support --changed mode for incremental scanning.
Usage patterns
Mount current directory
/scan inside the container and scans it.
Scan specific subdirectory
Output to file
results.json in your current directory (accessible via the volume mount).
Fail on severity threshold
CI mode
--fail-on high --no-color.
Custom rules directory
./custom-rules/.
Multiple volumes
CI/CD integration
GitHub Actions
GitLab CI
CircleCI
Jenkins
Bitbucket Pipelines
Advanced usage
Incremental scanning with git
git, so --changed detects modified files from the mounted .git directory.
Rug-pull detection with state persistence
Override entrypoint
Build custom image with embedded rules
Multi-platform builds
The official image supportslinux/amd64 and linux/arm64:
Output formats in Docker
Terminal (default)
--no-color if your terminal doesn’t support ANSI:
JSON
SARIF
Markdown
Troubleshooting
Permission denied errors
Output files are created as root inside the container. Fix ownership:.git directory not detected
Ensure.git is inside the mounted directory:
Image pull rate limit
GitHub Container Registry (ghcr.io) has rate limits for unauthenticated pulls. Authenticate:Large scan times out
Increase Docker’s resource limits or use--changed mode:
Docker Compose
Next Steps
GitHub Actions
Integrate with GitHub Actions workflows
GitLab CI
Integrate with GitLab CI/CD pipelines
