DevOps & Config Tool data stays in browser

Dockerfile Linter & Best-Practice Checker

Paste a Dockerfile and the checker flags unpinned base images, the latest tag, missing USER (root in prod), absent HEALTHCHECK, secret-leak patterns, multi-stage build opportunities, and layer-cache-hostile ordering — with the instruction line and a suggested fix. Paste your .dockerignore alongside it and the checker flags what the build context is still shipping. Filter by minimum severity when you only want what blocks a release. The Findings tab has per-rule detail; Stages shows the build stages. Runs in your browser; the Dockerfile is never uploaded.

Guide
Dockerfile & .dockerignore

Auto-lints as you type. Ctrl+Enter to re-run. The .dockerignore box is optional — supply it to see what a broad COPY . . would pull in.

How to use the Dockerfile Linter & Best-Practice Checker

Lint and review a Dockerfile against container build best practices before you commit. The checker flags unpinned base images, the latest tag, missing USER (root-runs-prod), absent HEALTHCHECK, secret-leak patterns, multi-stage build opportunities, layer-cache hostile ordering, and context-bloat risks. Useful for PR reviews, hardening legacy services, and onboarding to a new repo. Runs locally; the Dockerfile is never uploaded.

What it does

When to use it

How to use it

  1. Paste the Dockerfile into the input.
  2. The lint report appears with severity (error / warning / info), instruction line, and suggested fix.
  3. Open the Findings tab for per-rule detail, or Stages for the build stages.
  4. Copy the findings summary into a PR comment or ticket.
  5. Pair with the Docker Compose Helper for compose files and the ENV Converter for env-var handling.

Tips & pitfalls

FAQ

Runs locally in your browser. No uploads. Pair with an image scanner (Trivy, Snyk) for CVE coverage of the built image.

Related guides