Dockerfile Layer-Size Estimator/Linter
Static, rule-based lint for common Dockerfile anti-patterns. No execution or build - just text analysis.
Reminder: use a .dockerignore
A .dockerignore file (excluding node_modules, .git, .env, build output, etc.) keeps the build context small and prevents accidentally baking secrets or dev-only files into the image. This can't be detected from the Dockerfile alone, so it's always shown as a reminder.
Rule-based static text analysis only - this tool never executes or builds your Dockerfile.
Was this tool helpful?
See this same kind of analysis applied to your whole repository
Call graphs, dead code, blast radius, and a health score. Results in 60 seconds, free.
Related tools
See all Docker tools →.dockerignore Generator
Pick your stack, get a merged .dockerignore that keeps build context small.
Docker Multi-Stage Build Analyzer
Paste a Dockerfile - see if it is multi-stage and whether splitting build tooling out would help.
Docker HEALTHCHECK Generator
HTTP, TCP, or custom command to a valid Dockerfile HEALTHCHECK instruction.
Docker Compose Generator
Pick common services, get a valid docker-compose.yml with dependencies.
Runs entirely in your browser. Nothing is stored. Free forever.
