Suggest a tool

Hadolint

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

What Hadolint is

Hadolint is a Dockerfile linter written in Haskell. It parses a Dockerfile into an abstract syntax tree and applies rules to it. Shell code in RUN instructions is checked with ShellCheck. Rules can be ignored inline or globally through a YAML configuration file. Rule severity can be overridden per rule. It can restrict FROM images to trusted registries and validate labels against a schema. Output formats include JSON, SARIF, JUnit, Checkstyle, SonarQube and GitLab Code Climate. It ships as binaries for macOS, Windows and Linux and as a container image. An online version runs in the browser.

Written from the project's README, read .

Category
Code quality and static analysis
License
GPL-3.0
Language
Haskell
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars12,4251
Forks5011
Open issues and PRs2071
Contributors1431
Commits in the last 90 days671
Last commit2026-08-241
Last releasev2.15.1, 2026-07-311
Fetched

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Status

activeLast commit within 90 days of the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed code quality and static analysis tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from Hadolint's, with its source.

How to install

brew install hadolint
From README, read .

Questions

Is Hadolint open source?

Yes. Hadolint is released under GPL-3.0, an OSI-approved license, as reported by the GitHub API on 2026-09-22.

Is Hadolint maintained?

On 2026-09-22, the last commit to the default branch was on 2026-08-24, so the listed status is active. Rule: Last commit within 90 days of the fetch date.

How many GitHub stars does Hadolint have?

12,425 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is Hadolint written in?

The repository's primary language, as reported by the GitHub API, is Haskell.

How do I install Hadolint?

The README gives this command: brew install hadolint

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. README, read