Dockerfile Linter
Lint a Dockerfile for common best-practice issues.
Dockerfile
Paste your Dockerfile contents
Findings
Static best-practice checks
- L3 Copying the whole context (`COPY . .`) early can invalidate the Docker layer cache — copy dependency manifests first.
- L5 Prefer exec form `CMD ["executable", "arg"]` over shell form for proper signal handling.
- General No USER instruction found — the container will run as root by default.
- General No HEALTHCHECK instruction — consider adding one for orchestrators to monitor container health.
About the Dockerfile Linter
Paste a Dockerfile and get instant feedback on common issues: unpinned base images, missing USER instruction, shell-form CMD/ENTRYPOINT, apt-get cache hygiene, and more.
Examples
Unpinned image
FROM node:latestOutput
Warning: avoid latest tagKeyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
.editorconfig Generator
Dev Utilities
Create an .editorconfig file with per-language overrides.
.htaccess Redirect Generator
Dev Utilities
Generate Apache .htaccess redirect and rewrite rules.
Bash Alias Generator
Dev Utilities
Create shell aliases for Bash, Zsh or Fish with correct quoting.
Chmod Calculator
Dev Utilities
Unix permission calculator: checkboxes, octal, and symbolic.
Cron Expression Builder
Dev Utilities
Build cron expressions visually with a human-readable description.
Crontab to Human Readable
Dev Utilities
Translate whole crontab files into plain English, line by line.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser