不喜欢广告? 去 无广告 今天
Dockerfile Linter & Formatter
开发人员
广告 · 消除?
广告 · 消除?
指导
Dockerfile Linter & Formatter
Lint and format your Dockerfiles with best-practice rules inspired by hadolint. Check for security issues, optimize layers, enforce conventions, and format consistently — all in the browser.
如何使用
Paste your Dockerfile into the Linter tab to scan for errors, warnings, and optimization opportunities. Each issue shows the line number, severity level, and an explanation. Switch to the Formatter tab to apply consistent formatting with uppercase instructions, combined RUN commands, and clean spacing.
特征
- Best Practice Linting – 50+ rules covering security, layer optimization, and Docker conventions
- Severity Levels – Error, warning, and info classifications with detailed explanations
- Security Scanning – Detect hardcoded secrets, root user, unpinned base images, and more
- Layer Optimization – Suggestions to minimize layers and improve build caching
- Consistent Formatting – Uppercase instructions, combined RUN commands, sorted arguments
- Syntax Highlighting – Color-coded Dockerfile display in both tabs
- Sample Dockerfile – Quick test with a pre-filled example
广告 · 消除?
