hadolint
Verified for current stable LTS
Hadolint Commands
Hadolint command syntax with verified terminal examples.
Commands
5 commands for Hadolint
hadolint Containers
Hadolint Command: Lint A Dockerfile
hadolint <path/to/Dockerfile> hadolint Containers
Hadolint Command: Lint A Dockerfile Ignore Rules
hadolint --ignore <DL3006> --ignore <DL3008> <path/to/Dockerfile> hadolint HTTP
Hadolint Command: Lint A Dockerfile Json
hadolint -f <json> <path/to/Dockerfile> hadolint HTTP
Hadolint Command: Lint A Dockerfile Specific Format
hadolint -f <tty|json|checkstyle|codeclimate|codacy> <path/to/Dockerfile> hadolint Containers
Hadolint Command: Lint Multiple Dockerfiles Trusted Registries
hadolint --trusted-registry <docker.io> --trusted-registry <example.com>:<5000> <path/to/Dockerfile1 path/to/Dockerfile2 ...> Suggest a Hadolint Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Hadolint workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.