Home

Awesome

This is a Dockerfile sanity and semantics checker. It provides hints based on best practices.

Currently output is json to be displayed by web front-end.

The rules used to validate the Dockerfile are defined by a yaml file. To customize the ruleset copy the dockerfile_rules.yaml, edit the file and pass the --rules argument to specify the custom dockerfile ruleset.

Running

./check_dockerfile.py <path/to/Dockerfile> [--rules <path/to/custom/rules.yaml>]

TODO