-
Notifications
You must be signed in to change notification settings - Fork 5k
refactor: remove obsolete "version" property from Docker Compose files #46562
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
refactor: remove obsolete "version" property from Docker Compose files #46562
Conversation
As specified here: - https://docs.docker.com/reference/compose-file/version-and-name/#version-top-level-element-obsolete - https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-and-name-top-level-elements See this comment and issue for more context: docker/compose#11628 (comment)
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
mauri870
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw the console warning a couple times but always forgot to report about it. Thanks for fixing it.
consulthys
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGT Stack Monitoring
|
@Mergifyio backport 8.18 8.19 9.0 9.1 |
✅ Backports have been created
|
#46562) As specified here: - https://docs.docker.com/reference/compose-file/version-and-name/#version-top-level-element-obsolete - https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-and-name-top-level-elements See this comment and issue for more context: docker/compose#11628 (comment) (cherry picked from commit b74247a)
#46562) As specified here: - https://docs.docker.com/reference/compose-file/version-and-name/#version-top-level-element-obsolete - https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-and-name-top-level-elements See this comment and issue for more context: docker/compose#11628 (comment) (cherry picked from commit b74247a)
#46562) As specified here: - https://docs.docker.com/reference/compose-file/version-and-name/#version-top-level-element-obsolete - https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-and-name-top-level-elements See this comment and issue for more context: docker/compose#11628 (comment) (cherry picked from commit b74247a)
#46562) As specified here: - https://docs.docker.com/reference/compose-file/version-and-name/#version-top-level-element-obsolete - https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-and-name-top-level-elements See this comment and issue for more context: docker/compose#11628 (comment) (cherry picked from commit b74247a)
#46562) (#46857) As specified here: - https://docs.docker.com/reference/compose-file/version-and-name/#version-top-level-element-obsolete - https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-and-name-top-level-elements See this comment and issue for more context: docker/compose#11628 (comment) (cherry picked from commit b74247a) Co-authored-by: Andrzej Stencel <[email protected]>
#46562) (#46858) As specified here: - https://docs.docker.com/reference/compose-file/version-and-name/#version-top-level-element-obsolete - https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-and-name-top-level-elements See this comment and issue for more context: docker/compose#11628 (comment) (cherry picked from commit b74247a) Co-authored-by: Andrzej Stencel <[email protected]>
As specified here:
See this comment and issue for more context:
'version' is obsoletedocker/compose#11628 (comment)Removing the property gets rid of this warning displayed whenever using the files (e.g. running integration tests):