Runs in your browser. Your input is not uploaded.

Dockerfile offline linter

Lint a Dockerfile for common packaging mistakes without building an image.

Loading the tool…

What it does, how to use it, and questions

What it does

Dockerfiles accumulate foot-guns: :latest tags, ADD for remote URLs, apt lists left behind, and running as root.

This linter applies a fixed rule set offline. It does not build images or pull bases.

How to use it

  1. Paste a Dockerfile.
  2. Read findings by severity and line.
  3. Fix and re-paste.

Things to watch for

  • Not every warning is wrong for scratch or distroless images.
  • Hadolint is stricter; this is a focused subset.

Questions

Does it build the image?
No.
Can it lint Compose files?
No. Dockerfile only.
Are registry credentials needed?
No. Nothing is pulled.
Is the file uploaded?
No.