Docker Compose Validator
Validate docker-compose.yml: syntax, services, ports, volumes, networks.
Validates YAML syntax, service definitions, port bindings, and references to networks/volumes/depends_on against the Compose spec. $VARIABLE interpolation, .env files, and external resources are not resolved here. Parsing runs entirely in your browser.
Validate docker-compose.yml files for syntax and structure: service definitions, port conflicts, and dangling references to networks, volumes, and depends_on services. Catch "services must be a mapping, not a string" before your stack fails to start.
- -Strict YAML parsing with line-level error messages
- -Service name and image/build checks
- -Duplicate host port detection across services
- -Unknown network, volume, and depends_on references
- -Obsolete version key warning
- -Local-only processing with sample compose file
- >Debugging compose files that fail to start
- >Checking for port collisions in monorepo stacks
- >Reviewing shared compose templates
- >Teaching compose indentation and structure