Dockerfile Analyzer

Lint Dockerfiles for security & best practices (pin images, avoid root, reduce layers, detect secrets and risky commands).

Back to Tools
Quick beginner guide
  • Paste your Dockerfile on the left (or load an example).
  • Enable Strict mode for more checks.
  • Enable Auto-rewrite to generate a safe rewritten Dockerfile preview.
  • Click Analyze → review findings and copy suggested snippets.
  • Tip: Click any finding with a line number to jump directly to that line.
1
Reset

Result

Run analysis to see findings.
Paste a Dockerfile and click Analyze.