Dockerfile Linter
Lint a Dockerfile for common best-practice issues.
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.
Popular uses
- dockerfile
- docker
- linter
- best practices
- container
Examples
Unpinned image
FROM node:latestOutput
YAMLWarning: 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
Docker Compose Generator
Dev Utilities
Build a valid docker-compose.yml from a simple service form.
Docker Compose Validator
Dev Utilities
Check docker-compose.yml for errors, bad ports and risky settings.
GitHub Actions Workflow Validator
Dev Utilities
Validate a GitHub Actions workflow YAML and catch security and structure mistakes.
Kubernetes YAML Validator
Dev Utilities
Validate Kubernetes manifests and catch risky container settings.
Nginx Config Analyzer
Dev Utilities
Analyse nginx.conf for syntax, security and performance issues.
Systemd Service File Generator
Dev Utilities
Build a production-ready systemd .service unit file.
Works well with
Next steps from other categories.
YAML Formatter
Converters
Beautify and normalize YAML with a hand-written parser.
JSON Validator
JSON
Validate JSON syntax and see detailed error diagnostics.
Frequently asked questions
Read more
- How to explore, edit and map a source project in your browser
A practical guide to opening a source archive, tracing dependencies, inspecting syntax trees and exporting edited files without uploading a repository.
Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser