Available Images
Full Image (Recommended)
Includes both OpenGrep and Semgrep scanners for maximum flexibility.- OpenGrep 1.12.1+ included
- Semgrep 1.119.0+ included
- All scanning capabilities available
Slim Image
Minimal image requiring external scanner installation.- crypto-finder binary only
- Requires external OpenGrep or Semgrep
- Smaller image size
- Ideal for custom scanner versions
Basic Usage
Scanning with Mounted Volumes
Volume Mounting Patterns
| Mount Point | Purpose | Recommended Mode |
|---|---|---|
/workspace/code | Source code to scan | :ro (read-only) |
/workspace/rules | Custom rule files | :ro (read-only) |
/workspace/output | Scan results | :rw (read-write) |
~/.scanoss/crypto-finder/cache | Ruleset cache (optional) | :rw (read-write) |
Preserving Cache Between Runs
CI/CD Integration
GitHub Actions
Complete workflow for scanning code on push and pull requests:With Custom Rules
Advanced Docker Usage
Running with Specific Scanner
Custom Timeout and Language Override
Docker Compose
Exampledocker-compose.yml for local development: