Docker Compose Validator
Paste a JSON-form Compose document for a small set of structural checks. YAML and full Compose schema validation are not supported.
A QUICK WALKTHROUGH
How to use this tool
- Paste a Compose JSON document up to 1 MiB.
- Run the local structure check.
- Review service definition and field type findings.
Limited JSON checks
Checks that services is a non-empty object, each service is an object with image or build, and common ports, volumes, and environment fields have expected container types.
Not a full Compose validator
This version accepts JSON only. It does not parse YAML or implement the complete Compose schema, interpolation, merge, or runtime validation.
Local and bounded
Input is limited to 1 MiB and parsed in your browser. No file is uploaded.
GOOD TO KNOW
Common questions
Can I paste a YAML Compose file?
No. This version accepts JSON only.
Does a passing check guarantee Docker Compose will run it?
No. Only the listed basic structure checks are performed.