-
Notifications
You must be signed in to change notification settings - Fork 5k
[8.19](backport #46562) refactor: remove obsolete "version" property from Docker Compose files #46856
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
base: 8.19
Are you sure you want to change the base?
Conversation
#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)
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
|
This pull request has not been merged yet. Could you please review and merge it @andrzej-stencel? 🙏 |
|
This pull request has not been merged yet. Could you please review and merge it @andrzej-stencel? 🙏 |
|
This pull request has not been merged yet. Could you please review and merge it @andrzej-stencel? 🙏 |
|
/test |
|
This pull request has not been merged yet. Could you please review and merge it @andrzej-stencel? 🙏 |
|
This pull request has not been merged yet. Could you please review and merge it @andrzej-stencel? 🙏 |
|
I see the following test failures:
I'm investigating. Strange that it's not failing the same way on |
|
In 938341c I'm trying out something that docker-compose suggested in its output. If it works, I'll open a PR to |
|
#46856 (comment) – this didn't help and the tests are passing locally on my machine. I suspect it has something to do with the Docker version itself. I'm reverting 938341c |
This reverts commit 938341c.
|
This pull request has not been merged yet. Could you please review and merge it @rdner? 🙏 |
|
/test |
|
This pull request has not been merged yet. Could you please review and merge it @rdner? 🙏 |
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):