Docker Compose Validator
Check common Compose structure and risky defaults, then map services and resources. Parsing stays in your browser.
Scope: This is a practical YAML subset checker, not the Docker Compose specification. Anchors, aliases, tags, block scalars, merge keys, and advanced YAML syntax are rejected. Confirm production files with
docker compose config.Compose document
Use spaces for indentation. Tabs and duplicate keys are errors.
Validation results
Checks included
Top-level structure; service image/build; ports, volumes, environment, dependencies, networks, restart mode, privileges, host networking, floating image tags, undefined references, and dependency cycles. Warnings are guidance, not proof that a deployment is safe.