Skip to content

Conversation

kasperh90
Copy link

Running symfony console make:docker:database fails with the error "[ERROR] compose.yaml file version is not set." if the version: field is missing.

Since Docker Compose v2, the version field is optional and considered obsolete. Users with a modern compose.yaml may see this error unnecessarily.

See: https://docs.docker.com/reference/compose-file/version-and-name/

This PR removes the version check and updates the tests accordingly.

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