๐Ÿณ

Dockerfile Security & Optimization Audit

Paste or upload your Dockerfile. Get instant security findings, optimization tips, and a letter grade. 17 static analysis rules โ€” not an AI wrapper.

Free audit โ€ข AI-fixed Dockerfile: $1.99

How It Works

๐Ÿ“„

1. Paste or Upload

Drop your Dockerfile in. Supports any valid Dockerfile syntax including multi-stage builds.

๐Ÿ”ฌ

2. Static Analysis

17 rules check for security issues, optimization gaps, and Docker best practices. No AI involved.

๐Ÿ› ๏ธ

3. Get Fixes

Free: detailed findings with fix instructions. $1.99: AI rewrites your entire Dockerfile with all fixes applied.

๐Ÿ”

Security First

Catches root user, leaked secrets, unverified downloads, and missing healthchecks.

โšก

Instant Results

Pure static analysis โ€” no cloud builds, no registry access needed. Results in under a second.

๐Ÿ“ฆ

Image Optimization

Detects bloated base images, cache-busting layer order, missing cleanup, and multi-stage opportunities.

What We Check

CRITICAL

Running as root user โ€ข Secrets in ENV/ARG instructions

HIGH

Unpinned base images โ€ข Multiple CMD/ENTRYPOINT โ€ข Downloads without checksums

MEDIUM

No HEALTHCHECK โ€ข ADD vs COPY โ€ข Bad layer ordering โ€ข Bloated base images

LOW / INFO

Missing EXPOSE โ€ข Shell form CMD โ€ข pip cache โ€ข No multi-stage builds

Frequently Asked Questions

What does DockerAudit check for?

DockerAudit runs 17 static analysis rules against your Dockerfile covering security (root user, leaked secrets, unverified downloads), optimization (bloated images, bad layer caching, missing cleanup), and best practices (healthchecks, exec form CMD, pinned versions). No AI is involved in the scan โ€” it's deterministic rule-based analysis.

Is my Dockerfile stored or shared?

No. Your Dockerfile is processed in memory and discarded immediately after the scan. We don't store, log, or share any uploaded content. The analysis happens server-side for accuracy but nothing persists.

How is this different from hadolint?

Hadolint is excellent but requires installation and CLI usage. DockerAudit is a web-based alternative for quick one-off checks โ€” perfect for code reviews, auditing vendor Dockerfiles, or checking files on machines where you can't install tools. The paid tier also generates an AI-fixed version of your Dockerfile.

What's included in the free scan vs paid?

The free scan gives you the full audit: all 17 rules, severity ratings, line numbers, descriptions, and fix instructions. The $1.99 upgrade uses GPT-4o to rewrite your entire Dockerfile with every issue fixed โ€” ready to copy-paste into your project.

Does it support multi-stage Dockerfiles?

Yes. DockerAudit fully parses multi-stage builds with multiple FROM instructions, AS aliases, and cross-stage references. It also checks if a single-stage build could benefit from multi-stage architecture.

What ecosystems are supported?

DockerAudit works with any valid Dockerfile regardless of the application ecosystem โ€” Python, Node.js, Go, Rust, Java, Ruby, PHP, and more. Rules are Dockerfile-specific, not language-specific.