Closed GerdRuetten closed 5 months ago
In the actual docker compose, the 'version' element in the compose.yaml is obsolet and throw a warning.
See: https://github.com/compose-spec/compose-spec/blob/master/spec.md#version-and-name-top-level-elements
create a new stack
compose.yaml without 'version' element
services: nginx: image: nginx:latest restart: unless-stopped ports: - 8080:80 networks: {}
compose.yaml with 'version' element
version: "3.8" services: nginx: image: nginx:latest restart: unless-stopped ports: - 8080:80 networks: {}
1.4.2
linux/amd64
not browser specifik
Docker 26.0.0
No response
⚠️ Please verify that this bug has NOT been reported before.
🛡️ Security Policy
Description
In the actual docker compose, the 'version' element in the compose.yaml is obsolet and throw a warning.
See: https://github.com/compose-spec/compose-spec/blob/master/spec.md#version-and-name-top-level-elements
👟 Reproduction steps
create a new stack
👀 Expected behavior
compose.yaml without 'version' element
😓 Actual Behavior
compose.yaml with 'version' element
Dockge Version
1.4.2
💻 Operating System and Arch
linux/amd64
🌐 Browser
not browser specifik
🐋 Docker Version
Docker 26.0.0
🟩 NodeJS Version
No response
📝 Relevant log output
No response