Dockerfile Linter
Audit Dockerfile instructions for security, caching, and best-practice issues directly in your browser.
Worked Example
OCI / Dockerfile ReferenceFROM node:latest
WORKDIR app
COPY package*.json ./
RUN apt-get update && apt-get install -y curl
ADD . .
CMD node server.jsDockerfile Lint Report — Score: 23/100 (1 errors, 4 warnings, 8 total)
[WARN ] DL3007 (line 1): Avoid mutable ":latest" tag ("node:latest"); pin a specific digest or minor version.
[ERROR] DL3000 (line 2): Use absolute paths for WORKDIR ("app").
[INFO ] DL3015 (line 4): Add --no-install-recommends to apt-get install to reduce image size.
[WARN ] DL3009 (line 4): Clean /var/lib/apt/lists/* in the same RUN layer after apt-get update.
...Technical Architecture
Zero-Upload Browser Engine
Processes Dockerfile strictly inside browser memory using native script and Web Crypto APIs.
RFC & Standard Compliant
Follows RFC 4648, RFC 7519, SemVer 2.0.0, POSIX Cron, and modern syntax specs for Report.
Deterministic & Inspectable
Produces clean, reproducible Report output ready for debugging, CI, and production configs.
Instant Local Workflow
Zero server round-trips, zero account walls, and one-click tool chaining.
How to use Dockerfile Linter
- 1Paste your Dockerfile input or open a local file directly in the left editor.
- 2Adjust encoding mode, algorithm, regex flags, or indentation in the toolbar above.
- 3Inspect the instant Report output on the right, then copy or download the result.
Frequently Asked Questions
Does Dockerfile Linter send my Dockerfile input or tokens to any server?
No. All encoding, hashing, JWT decoding, regex matching, and code formatting execute strictly inside your browser memory.
How accurate is Dockerfile Linter for production use?
Dockerfile Linter implements standard algorithms including Web Crypto SHA/HMAC, RFC 4648 Base64/Base32, RFC 1321 MD5, and strict parsers for reliable Report output.
Can I pass the result directly into another CodeFmt tool?
Yes. Click Next Step above the editor to chain your current Report output straight into the next CodeFmt workbench.