Docker Compose Validator
Paste your docker-compose.yml to validate syntax, detect issues, and see a service summary.
No YAML to validate
Paste your docker-compose.yml on the left, or click "Load Sample".
Frequently Asked Questions
- What versions of Docker Compose does this support?
- This validator supports Compose file format versions 2.x and 3.x, which cover the vast majority of production deployments.
- Does it check image availability?
- No — it validates the structure and configuration of your compose file, not whether the images actually exist on Docker Hub. Use 'docker compose pull' to check image availability.
- What is a port conflict?
- A port conflict occurs when two services try to bind the same host port (the left side of the port mapping). Only one service can use a given host port at a time.
- Why is using 'latest' tag a warning?
- The 'latest' tag changes over time, making your deployment non-reproducible. Pin to a specific version like nginx:1.25 to ensure consistent behavior.
- Is my docker-compose.yml sent to any server?
- No. All validation runs entirely in your browser using JavaScript. Your configuration never leaves your device.