Docker Compose Validator
Lint a docker-compose.yml — parse the YAML, walk the structure, and flag common mistakes.
✓ No issues found.
What this checks
- Valid YAML (via
js-yaml). - Top-level keys against the Compose spec (services / volumes / networks / configs / secrets / version / name / include).
- Each service has at least
imageorbuild. - Restart policies are one of
no | always | on-failure | unless-stopped. - Port mappings parse cleanly and don't clash across services on the host side.
depends_ontargets exist.
You might also like
- Apache / Nginx Log ParserParse Combined Log Format lines into structured rows with status mix, top paths, and per-row filtering.
- User-Agent ParserDecode any User-Agent into browser, OS, device, engine, and CPU fields.
- JSON Formatter & ValidatorPretty-print, minify, and validate JSON.
- Dockerfile StarterMulti-stage Dockerfiles for Node, Python, PHP, Go, Ruby, Rust, Java, and static sites — plus matching .dockerignore.