Dockle vs Trivy
Dockle
github.comTrivy
trivy.devSide by side
| Figure | Dockle | Trivy |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Container Security Software | 7.8 (#12) | 8.1 (#9) |
| License | The repository lists the project under the Apache-2.0 license. | The Trivy homepage identifies the project as Go software under the Apache-2.0 License. |
| Output formats | It can display or save results in JSON and SARIF formats. | Aqua says Trivy can export results in formats including JUnit XML, SARIF, and AWS Security Finding Format (ASFF). |
| Purpose | Dockle is a container image linter for security that helps build best-practice Docker images. | Trivy scans code repositories, binary artifacts, container images, and Kubernetes clusters for vulnerabilities and misconfigurations. |
Plans
In their own words
Dockle
Dockle is a free, self-hosted container image linter focused on security and Docker best practices. It scans images for vulnerabilities and checks settings against CIS Docker Image Benchmarks, along with Docker- and Linux-specific issues such as empty passwords and duplicate user or group IDs. Results can be displayed or saved in JSON and SARIF formats. Users can set an exit level and ignore selected checkpoints through command options, environment variables, or a .dockleignore file. The project documents continuous-integration use and provides a GitHub Action, with examples for Travis CI, CircleCI, and GitLab CI. Dockle can access private images in Docker Hub, Amazon ECR, Google Container Registry, and self-hosted registries. It can also scan an image archive created with docker save by using the --input option. Installation routes include Homebrew, Linux distribution packages, Windows binaries, version managers, source builds, and Docker. Dockle runs on Linux, macOS, and Windows and is listed under the Apache-2.0 license.
Trivy
Trivy is a free, Apache-2.0-licensed scanner for code repositories, binary artifacts, container images, and Kubernetes clusters. Its scanners cover vulnerabilities, infrastructure-as-code misconfigurations, secrets, and licenses, and it can generate software bills of materials. Vulnerability checks include operating-system and language-specific packages, some non-packaged software, and Kubernetes components. Configuration checks cover Docker, Kubernetes, Terraform, and CloudFormation files, and users can write custom checks. Trivy supports ecosystems including Ruby, Python, PHP, Node.js, .NET, Java, Go, Rust, C/C++, Elixir, Dart, Swift, Julia, and operating-system packages. It can run as a CI/CD binary without middleware or database dependencies and can be used in air-gapped environments. Installation options include container images, release binaries, package repositories, Homebrew, and Windows downloads; official integrations include Azure DevOps and GitHub Actions. Results can be exported as JUnit XML, SARIF, and ASFF. The vulnerability scanner documentation says third-party or self-compiled packages and binaries are unsupported, and the scanner may skip third-party packages. Trivy automatically fetches and maintains the security databases it needs for scans. The project is identified as Go software under the Apache-2.0 License; Aqua Security is listed as founded in 2015 with headquarters in Boston and Ramat Gan.