All apps/Hadolint

Hadolint

hadolint

A smarter Dockerfile linter that helps you build best practice Docker images.

Runs as hadolint|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 10 fields

Lint one or more Dockerfiles with a chosen output format and failure threshold. Per-rule severity overrides, label schemas and registries are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui hadolint
Lint DockerfilesExample values, fixed in this page — nothing here reaches a terminal
Basic
Dockerfiles*
file
TasksEach one presets the form for one job
Lint a Dockerfile
dockerfile
JSON report
dockerfileformat
ParametersOnly these flags are editable in the form
Dockerfiles
path · positional 0 · repeatable
Config file
path
--config-c
Output format
enum
--format-fttyjsoncheckstylecodeclimategitlab_codeclimategnucodacysonarqubesarifjunit
Failure threshold
enum
--failure-threshold-terrorwarninginfostyleignorenone
Ignore rules
Rule codes such as DL3008.
string · repeatable
--ignore
Never fail the exit code
boolean
--no-fail
No color
boolean
--no-color
Trusted registries
string · repeatable
--trusted-registry
Strict labels
boolean
--strict-labels
Disable inline ignore pragmas
boolean
--disable-ignore-pragma
SourcesEvery flag above is checked against these
help
Usage: hadolint [-v|--version] [-c|--config FILENAME] [DOCKERFILE...] -c,--config FILENAME Path to the configuration file --no-fail Don't exit with a failure status code when any rule is violated --no-color Don't colorize output -f,--format ARG The output format for the results [tty…
helpmaster 2026-10

github.com

Before it fills your prompt, Otty checks the installed hadolint against its version. A form that does not match your version is not offered.