Skip to content

docker compose 'version' is obsolete #1556

@puckpuck

Description

@puckpuck

When you start or stop the demo with the latest version of docker you will get a warning message similar to this.

WARN[0000] /Users/pierretessier/Documents/GitHub/puckpuck/opentelemetry-demo/docker-compose.yml: `version` is obsolete 

After some research, it seems Docker deprecated the version property in 2021 and is now considered obsolete. The compose version is now inferred from the file structure itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions