Dockerfile linter. More information: https://github.com/hadolint/hadolint. Lint a Dockerfile: hadolint {{path/to/Dockerfile}}…
Dockerfile linter. More information: https://github.com/hadolint/hadolint.
hadolint {{path/to/Dockerfile}}
hadolint --format {{json}} {{path/to/Dockerfile}}
hadolint --format {{tty|json|checkstyle|codeclimate|codacy}} {{path/to/Dockerfile}}
hadolint --ignore {{DL3006}} --ignore {{DL3008}} {{path/to/Dockerfile}}
hadolint --trusted-registry {{docker.io}} --trusted-registry {{example.com}}:{{5000}} {{path/to/Dockerfile}} {{path/to/another/Dockerfile}}