Skip to content

[IMP] Remove version in compose yaml files. #544

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

david-banon-tecnativa
Copy link
Contributor

@david-banon-tecnativa david-banon-tecnativa commented Jun 25, 2025

In compose files, the version key is obsolete and does nothing, this removes it to avoid the warning.
Official compose spec document: https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-top-level-element-obsolete
Issue about it: docker/compose#11628

@pedrobaeza
Copy link
Member

Not sure if there's still some docker-compose systems out there...

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.

2 participants