configs.content syntax not supported despite being valid in Docker Compose 2.23.1+ #727
Open
2 tasks done
Labels
bug
Something isn't working
🛡️ Security Policy
Description
Description
When trying to use the new Docker Compose configs with inline
content
syntax (introduced in Docker Compose 2.23.1), Dockge validation fails with the error:validating /opt/stacks/qdrant/compose.yml: configs.qdrant_config Additional property content is not allowed
This syntax is officially supported by Docker Compose 2.23.1+ and Docker Engine 25.0.0+ as documented here: https://docs.docker.com/compose/compose-file/07-configs/#configs-configuration-reference
Example Configuration
Here's a minimal example that triggers the error:
Importance
This new syntax is particularly useful for keeping simple configurations inline without needing separate files. It would be great to have support for this feature in Dockge.
👟 Reproduction steps
Steps to Reproduce
Verification
To verify this is a Dockge-specific issue:
docker compose up
from command line👀 Expected behavior
Dockge should validate this as correct syntax since it's supported by recent Docker Compose versions.
😓 Actual Behavior
Validation fails with the error message about content not being an allowed property.
Dockge Version
1.4.2
💻 Operating System and Arch
Ubuntu 20.04.6 aarch64
🌐 Browser
Firefox
🐋 Docker Version
Docker version 27.4.1, build b9d17ea, build b9d17ea / Docker Compose version v2.32.1
🟩 NodeJS Version
No response
📝 Relevant log output
The text was updated successfully, but these errors were encountered: