Dockerfile Analyzer
Lint Dockerfiles for security & best practices (pin images, avoid root, reduce layers, detect secrets and risky commands).
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.
Result
Run analysis to see findings.
Paste a Dockerfile and click Analyze.