Docker Compose Validator
Validate and format Docker Compose files. Checks YAML syntax, service structure, network and volume references, dependency chains, and common misconfigurations.
About Docker Compose Validation
Docker Compose is a tool for defining and running multi-container applications. Compose files use YAML to configure your app's services, networks, and volumes.
What we check:
- Valid YAML syntax with precise error locations
- Top-level structure (services, networks, volumes, configs, secrets)
- Service keys against the Compose specification
- Every service has an
imageorbuilddirective - Network and volume references resolve to declared resources
depends_onreferences exist and don't self-reference- Port format validity and restart policy values
- Unused declared volumes and networks
Format: Re-serializes your Compose file with consistent indentation and optionally sorted keys, making it easier to review and compare in version control.
Everything runs in your browser — no data is sent over the network.
Related Inspect Tools
JSON Schema Validator
Validate JSON data against JSON Schema (Draft 07) with detailed error reporting and schema generation
IP / CIDR Toolkit
Subnet calculator, VLSM divider, IP range to CIDR converter, and IP address classifier
Open Graph Preview
Preview and debug Open Graph, Twitter Card, and SEO meta tags for social sharing
JS/TS Playground
Run JavaScript and TypeScript code in your browser with instant console output