Skip Navigation

Hadolint: Lint Dockerfiles from the Command Line

thenewstack.io Hadolint: Lint Dockerfiles from the Command Line

Hadolint is a command line tool that helps you ensure your Dockerfiles follow best practices and parses your Dockerfile into an abstract syntax tree (AST).

Hadolint: Lint Dockerfiles from the Command Line
2
2 comments
  • Thank you for sharing this. I think it will help out incredibly when trying to troubleshoot Dockerfiles. Does it does the same thing for docker-compose.yml files?

    • I haven't tried it for them, but the --no-install-recommends and delete list/package cache nags are some "doh" things I tend to forget.