Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove version: x from example docker-compose.yml #289

Open
Schnitzel opened this issue Apr 18, 2023 · 0 comments
Open

Remove version: x from example docker-compose.yml #289

Schnitzel opened this issue Apr 18, 2023 · 0 comments

Comments

@Schnitzel
Copy link

Version 2 and 3 of docker-compose are deprecated and legacy, the newest version is now called Compose Specification and has no version numbers anymore, see https://docs.docker.com/compose/compose-file/compose-versioning/#versioning

Top-level version property is defined by the specification for backward compatibility but is only informative: https://docs.docker.com/compose/compose-file/04-version-and-name/

Therefore we should remove all top level version: x properties from all the examples

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

No branches or pull requests

1 participant