Skip to content

chore: remove obsolete version attribute from docker-compose.yaml#883

Open
VewDev wants to merge 1 commit into
ronreiter:masterfrom
VewDev:vewdev/remove-obsolete-version
Open

chore: remove obsolete version attribute from docker-compose.yaml#883
VewDev wants to merge 1 commit into
ronreiter:masterfrom
VewDev:vewdev/remove-obsolete-version

Conversation

@VewDev

@VewDev VewDev commented Jun 16, 2026

Copy link
Copy Markdown

Remove the version attribute, which has been obsolete since Compose v2, in 2020 and throws a warning each time you start the containers.

From the official docker documentation (source):

Compose v2, announced in 2020, is written in Go and is invoked with docker compose. Unlike v1, Compose v2 ignores the version top-level element in the compose.yaml file and relies entirely on the Compose Specification to interpret the file.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant