# Clair

> Vulnerability Static Analysis for Containers

Source: https://talira.ai/catalog/clair-b4j2b3n4
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure, API
- Categories: [security / container security](https://talira.ai/categories/security/container-security), [security / supply chain](https://talira.ai/categories/security/supply-chain)
- Platforms: linux, docker, kubernetes[^5]
- Licence: Apache-2.0[^3][^4]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Self-hostable: yes[^5]
- API: yes[^4]
- Backed by: [Red Hat](https://talira.ai/orgs/red-hat.md)
- Funding: acquired by IBM (2019)[^6]

Clair is an open source service that statically analyses container images (OCI and [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md)) for known vulnerabilities, and the scanner behind Red Hat's [Quay](https://talira.ai/catalog/quay-16zz4zxz.md). Clients send it a manifest over its HTTP API: the indexer fetches the layers and records what's installed, the matcher correlates that with vulnerability data it keeps current, and the notifier tells subscribers by webhook, AMQP or STOMP when a newly published vulnerability affects an image already indexed. It covers [Ubuntu](https://talira.ai/catalog/ubuntu-3yhk0xfs.md), [Debian](https://talira.ai/catalog/debian-xqbs9v9y.md), RHEL, SUSE, Oracle Linux, Alpine, Amazon Linux, VMware Photon and Python packages, runs as one process or as separate indexer, matcher and notifier services on [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md) or OpenShift, and stores its data in [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md). It's Apache-2.0, built on the ClairCore library; compare [Trivy](https://talira.ai/catalog/trivy-bwebatvr.md) and [Grype](https://talira.ai/catalog/grype-e734z6vj.md).

## Links

- Website: https://quay.github.io/clair/
- GitHub: https://github.com/quay/clair
- Docs: https://quay.github.io/clair/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/clair>[^1]

## Problems it solves

- add vulnerability scanning to our self-hosted container registry as a service the registry calls
- get notified when a new CVE affects an image we pushed months ago, without rescanning everything
- an API that indexes container image layers once and re-matches them as new vulnerability data arrives
- scan images for vulnerable Ubuntu, Debian, RHEL and Alpine packages from our own infrastructure
- send vulnerability notifications for registry images to a webhook or a message queue
- run container vulnerability scanning as separate scalable services on Kubernetes or OpenShift

## Features

- indexes image manifests into IndexReports and matches them against vulnerability data
- vulnerability data kept current as new security data is ingested
- notifier for newly discovered vulnerabilities in indexed manifests, delivered by webhook, AMQP or STOMP
- support matrix: Ubuntu, Debian, RHEL, SUSE, Oracle, Alpine, AWS Linux, VMware Photon and Python
- combined mode in one process, or distributed mode with indexer, matcher and notifier in their own pods
- HTTP API and the clairctl command-line client
- PostgreSQL storage, one database or one per process
- container images on quay.io (quay.io/projectquay/clair)

## Limitations

- Static analysis only: it doesn't inspect running containers[^2]
- Covers only the distributions and ecosystems in its support matrix: no Go, Java, npm or Ruby packages[^2]

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Sends webhooks: plan not known

## Trust

Overall: 0.53 out of 1.
Signals: backing 0.55, extensibility 0.60.

- backed by Red Hat
- funding: acquired by IBM (2019)

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [Quay](https://talira.ai/catalog/quay-16zz4zxz.md)

## Alternatives

- [Grype](https://talira.ai/catalog/grype-e734z6vj.md): A vulnerability scanner for container images and filesystems.
- [Trivy](https://talira.ai/catalog/trivy-bwebatvr.md): Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
- [Dockle](https://talira.ai/catalog/dockle-wv2qfqj4.md): Container image linter for security and Docker best practices
- [Docker Scout](https://talira.ai/catalog/docker-scout-5b24vys8.md): Finds vulnerabilities, outdated packages and compliance problems in container images
- [Aqua Platform](https://talira.ai/catalog/aqua-platform-w5cq959j.md): Secure What Runs in the Cloud

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://quay.github.io/clair/whatis.html (checked 20 Nov 2026)
[^3]: https://github.com/quay/clair/blob/main/LICENSE (checked 20 Nov 2026)
[^4]: https://github.com/quay/clair/blob/main/README.md (checked 20 Nov 2026)
[^5]: https://quay.github.io/clair/howto/deployment.html (checked 20 Nov 2026)
[^6]: https://www.redhat.com/en/about/press-releases/ibm-closes-landmark-acquisition-red-hat-34-billion-defines-open-hybrid-cloud-future (checked 20 Nov 2026)
