Skip to content

docker-compose version #1

Description

@fabian57fabian

Different docker-compose version might throw an error e.g.:

ERROR: Version in "./docker-compose.yaml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the serviceskey, or omit theversion key and place your service definitions at the root of the file to use version 1.

This is the result with my build version:
docker-compose version 1.17.1, build unknown

Please add your version in the readme for compatibility.

Edit: this error does not come up when changing in docker-compose.yaml from VERSION: '3.7' to VERSION: '3'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions