FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore: remove obsolete `version` attribute from docker-compose.yaml by VewDev · Pull Request #883 · ronreiter/interactive-tutorials · GitHub

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 commented Jun 16, 2026
edited
Loading

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.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL