4Internet / developer utilities

Dockerfile Reviewer

Review Dockerfile instructions and shell commands without building an image.

Account access needed

This tool requires an eligible account. Check your plan and sign-in status.

A practical guide

How to use Dockerfile Reviewer

Run Hadolint against a Dockerfile to find fragile image tags, package-management patterns and shell mistakes. Findings are tied to lines and rule identifiers. The Dockerfile is parsed but never built, so no RUN instruction executes and no base image is pulled.

  1. Paste the Dockerfile you intend to review, with any credentials removed. Choose Analyze.
  2. Read the rule code and line for each finding. For mutable tags, choose an appropriate release or digest through your own dependency update process.
  3. Edit the source and rerun the check. Compare revisions with the text-diff tool before building in an environment you control.

Worked example

Illustrative input and expected interpretation. This example is not a live measurement.

Input

FROM ubuntu:latest followed by RUN echo example

What to expect

DL3007 flags the mutable latest tag. The tool does not invent a replacement base-image version.

What to watch for

  • A clean lint report is not a vulnerability scan or proof that an image builds. Base-image contents and downloaded packages are not inspected.
  • Inline ignore pragmas are disabled and personal configuration is not loaded, so this report may differ from a repository-specific lint run.
  • The source limit is 64 KiB. Large or complex Dockerfiles may hit the process CPU, memory or output limit.

Your input: submitted to this server for processing. This tool does not send it to an AI provider. Your input is processed for this request. Temporary processing files are removed afterward. Avoid pasting secrets or personal data.

References