Clair vs Grype
Clair
github.comGrype
github.comSide by side
| Figure | Clair | Grype |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | Yes |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | Yes | Yes |
| API | Yes | — |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 2 |
| Spec score · Container Image Scanning Tools | 8.0 (#8) | 8.6 (#2) |
| License | The project is licensed under Apache 2.0. | The project is released under the Apache-2.0 License. |
| Purpose | Clair is an open source project for static analysis of vulnerabilities in application containers, including OCI and Docker images. | Grype scans container images, filesystems, and SBOMs for known vulnerabilities. |
| Support | The project README lists a mailing list, an IRC channel, and GitHub issues as community contact options. | Commercial support is offered through Anchore, while community help is routed through issues, contribution documentation and community meetings. |
Plans
In their own words
Clair
Clair is a free, Apache 2.0-licensed open-source service for static vulnerability analysis of OCI and Docker container images. It runs self-hosted on Linux and exposes an API: clients submit image manifests, Clair indexes their layers, scans image contents, and returns a persisted IndexReport. Analysis examines image contents rather than runtime behavior. Content-addressed OCI manifests and layers help avoid duplicate indexing. Clair continually ingests security data, while matcher requests provide current vulnerability analysis for an IndexReport; its notifier checks indexed manifests when new vulnerabilities appear and follows configured actions. The documented support matrix includes Ubuntu, Debian, RHEL, SUSE, Oracle, Alpine, AWS Linux, VMware Photon, and Python base containers. Clair v4 uses ClairCore as its analysis engine. Release 4.9.0 notes NVD 2.0 JSON feeds for CVSS enrichment and SPDX 2.3 encoding for index reports. The README lists a mailing list, IRC channel, and GitHub issues for community contact, and directs users to releases because the main branch may be unstable or broken. The listed plan is free.
Grype
Grype is a free, Apache-2.0-licensed scanner for known vulnerabilities in container images, filesystems, and software bills of materials (SBOMs). It can also scan directories, individual files, archives, and packages identified by PURL or CPE. Coverage includes major operating-system package ecosystems and language packages such as Ruby, Java, JavaScript, Python, .NET, Go, PHP, and Rust; supported image formats include Docker, OCI, and Singularity. Grype uses EPSS, KEV, and risk scoring to help prioritize findings. OpenVEX can filter results or add context. Reports can be emitted as a table, JSON, SARIF, or a custom Go template. The project supports SBOM generation and runs on Linux, macOS, Windows, or in a self-hosted setup. Installation options include a Docker image and community packages such as Homebrew, MacPorts, Winget, Scoop, and Snapcraft. Individual package scanning is described as useful for lightweight vulnerability checks and compliance scanning of specific dependencies. Security updates are applied only to the most recent release, and vulnerability-report support is described as best effort.