A rule based 'linter' for Dockerfiles. The linter rules can be used to check file syntax as well as arbitrary semantic and best practice attributes determined by the rule file writer. The linter can also be used to check LABEL rules against docker images. It is an open-source extension for Visual Studio Code, based on dockerfile_lint
Table of Contents
dockerfile_validator uses this default rule file.
Custom rule files can be provided by editing the User Setting "dockerfile-validator.rulefile.path" in VS Code. The value for that configuration should contain the path to the yaml rule file, if the file does not exist, or if it is invalid, it will use the [default rule file] (https://github.com/marquesmps/dockerfile_validator/tree/develop/src/rule_files/default_rules.yaml).