Code tool

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.

In-browser processingNo account requiredPrivacy details ↗

JSON only, up to 1 MiB. Checks a few common Compose structure rules, not the full Compose specification. YAML is not supported by this version.

    A QUICK WALKTHROUGH

    How to use this tool

    1. Paste a Compose JSON document up to 1 MiB.
    2. Run the local structure check.
    3. 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.