Skip to content

Docker

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.