Skip to content

version syntax for compose deprecated #45

Description

@netbub

The version field within the Compose file is obsolete and displays a warning when run:

user@rustlog:~/rustlog$ docker compose up -d
WARN[0000] /home/user/rustlog/docker-compose.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] up 20/20
 ✔ Image clickhouse/clickhouse-server:latest Pulled                                                                                                                                                                                      11.9s
 ✔ Image ghcr.io/boring-nick/rustlog:master  Pulled                                                                                                                                                                                      6.3ss
 ✔ Network rustlog_default                   Created                                                                                                                                                                                     0.1s
 ✔ Container clickhouse                      Started                                                                                                                                                                                     0.6s
 ✔ Container rustlog                         Started                                                                                                                                                                                     0.8s

Version was obsoleted in this commit.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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