Hadolint is a command-line linter for Dockerfiles. It reads a Dockerfile, builds a syntax tree from it and applies rules to that tree to flag patterns that go against Docker image best practice. It is aimed at developers and DevOps engineers who write Dockerfiles and want problems caught before an image is built.
The linter hands the shell commands inside RUN instructions to ShellCheck, so mistakes in embedded Bash are reported too. The project is written in Haskell, is released under the GPL-3.0 license, and its source code is public on GitHub. The facts supplied list Windows as the platform for the winget package.
Alternatives to Hadolint
Products that do a similar job in Developer Tools.
Skaffold
command-line tool for building and deploying containers to Kubernetes
Terragrunt
Command-line orchestration for OpenTofu and Terraform configurations
Podman Desktop
Graphical front end for managing Podman containers and images
Kestra
Open-source workflow orchestrator for data, infrastructure and business processes
Lens
Desktop IDE for managing Kubernetes clusters
Headlamp
Desktop user interface for browsing and managing Kubernetes clusters
wtf
Terminal dashboard for personal info and DevOps status
yq
command-line processor for YAML, JSON, XML, CSV and TOML files