Docker Compose Validator
Check docker-compose.yml for errors, bad ports and risky settings.
About the Docker Compose Validator
Paste a Compose file to validate its structure: a services block, image or build on every service, unpinned or :latest tags, duplicate and malformed host port mappings, undefined named volumes and networks, unknown depends_on targets, privileged containers, host networking and missing restart policies.
Popular uses
- docker compose validator
- docker-compose.yml linter
- compose file checker
- docker yaml validator
Examples
Duplicate port
YAMLports:
- "8080:80"
- "8080:81"Output
YAMLError: host port 8080 mapped twiceKeyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
Docker Compose Generator
Dev Utilities
Build a valid docker-compose.yml from a simple service form.
Dockerfile Linter
Dev Utilities
Lint a Dockerfile for common best-practice issues.
GitHub Actions Workflow Validator
Dev Utilities
Validate a GitHub Actions workflow YAML and catch security and structure mistakes.
Kubernetes YAML Validator
Dev Utilities
Validate Kubernetes manifests and catch risky container settings.
Nginx Config Analyzer
Dev Utilities
Analyse nginx.conf for syntax, security and performance issues.
Systemd Service File Generator
Dev Utilities
Build a production-ready systemd .service unit file.
Works well with
Next steps from other categories.
All Dev Utilities toolsFrequently asked questions
Version 1.0.0 · Updated 2026-08-19 · Runs entirely in your browser