Docker Compose Validator
Validate Docker Compose YAML, services, resource references, and dependencies
Syntax, service, and dependency issues appear here.
About this tool
Validates Docker Compose YAML locally, checks the required services mapping, image/build declarations, service dependencies, named resource references, and unknown top-level keys. Syntax errors include line and column context. Warnings remain visible without blocking an otherwise valid file.
Frequently Asked Questions
What does the Compose validator check?
It parses YAML and checks the services map, image or build declarations, dependency names, named resource references, and unknown top-level keys.
Does it run Docker or start containers?
No. The tool only inspects the Compose document and never starts a container or contacts a registry.
Can it catch an invalid service dependency?
Yes. A depends_on entry that names a service missing from the file is reported as a structural issue.
Are warnings different from errors?
Yes. Warnings remain visible for review while blocking structural errors make the document fail validation.
Does it support Compose YAML extensions?
Common Compose extension fields are accepted where possible; vendor-specific runtime behavior still belongs in your CI environment.
Is the Compose file kept private?
Yes. YAML parsing and validation happen locally in the browser without uploading the file.
Keep browsing