Stop adding "version" to new compose files #705
andrew-manger
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🏷️ Feature Request Type
Other
🔖 Feature description
When creating a new stack/container via the "+ Compose" button or converting a docker run command, the editor always adds a "version" property at the top of the compose file. This property is obsolete. I delete it for every new container. If dockge could not add it automatically, that'd be awesome!
https://forums.docker.com/t/docker-compose-yml-version-is-obsolete/141313/2
https://dev.to/ajeetraina/do-we-still-use-version-in-compose-3inp
✔️ Solution
Don't add the verision property when creating new compose files.
❓ Alternatives
The alternative is for the end user to just delete the version property for every new compose file.
📝 Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions