Hadolint

Dockerfile linter that also checks the shell commands inside it.

These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.

1 more ways to get Hadolint

Package managers

About Hadolint

Hadolint parses a Dockerfile into an abstract syntax tree and checks it against best-practice rules, passing embedded shell commands to ShellCheck so quoting and command errors are caught too. It runs as a binary, a container or a pre-commit hook.

Strengths

  • Checks the shell inside RUN lines, not just the Dockerfile syntax
  • Single binary or container, easy to drop into CI

Limitations

  • Some rules are opinionated and commonly need to be disabled
  • Cannot catch problems that only appear at build time

Details

Pricing
FreeThe open-source application is available without a license fee.
License
GPL-3.0
Developer
The Hadolint contributors
Platforms
Windows, macOS, Linux, Command line
How it runs
Downloadable app
Best suited for
Dockerfile linter that also checks the shell commands inside it
Categories
Developer tools
Last verified
Added
Provenance
Selected from the TechWalrus Resource Hub (Developer Environments); facts checked against the developer's own pages, 3 sources on file.

Report a wrong fact or a dead link on this listing