Container Image Size Optimizer
Paste a Dockerfile to get layer by layer size optimization suggestions, likely savings, and an improved multi stage Dockerfile draft. Analysis runs fully in your browser.
Dockerfile parser Size savings estimates Multi stage guidance Shareable URL hash
Input Dockerfile
Supports Dockerfile, txt, and pasted content
Tip: include full RUN commands for better estimates.
Run analysis to see score, issues, optimized Dockerfile draft, and action checklist.
Image size efficiency score
0
Grade C
Top optimization issues
Severity and estimated savings
Original Dockerfile summary
Optimized summary
Layer by layer analysis
Parsed instructions and likely size impact
| Line | Instruction | Impact | Notes |
|---|
Optimized Dockerfile draft
Editable starter based on your current Dockerfile
Review and test this draft before production use.
Checklist with quick commands
Use this as your implementation plan
Keep hardening your delivery pipeline
After shrinking image size, scan dependencies for known CVEs and verify upgrade support across your stack.