Skip to content

docker-compose.yml version #6

@ldenman

Description

@ldenman

FYI I see this message when using Debian Bullseye's docker-compose.

docker-compose version 1.25.0, build unknown
ERROR: Version in "./docker-compose.yml" 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 `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.

We might want to specify an earlier version like 3.3 in the docker-compose file to support 1.25. I ended up upgrading to the docker-compose from the testing repositories (1.29) and bypassed the error.

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