CmdID

CmdID / Commands

hadolint

Dockerfile linter. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Lint a Dockerfile

hadolint path/to/DockerfileIdentify

Lint a Dockerfile, displaying the output in JSON format

hadolint --format json path/to/DockerfileIdentify

Lint a Dockerfile, displaying the output in a specific format

hadolint --format tty path/to/DockerfileIdentify

Lint a Dockerfile ignoring specific rules

hadolint --ignore DL3006 --ignore DL3008 path/to/DockerfileIdentify

Lint multiple Dockerfiles using specific trusted registries

hadolint --trusted-registry docker.io --trusted-registry example.com:5000 path/to/Dockerfile1 path/to/Dockerfile2 ...Identify