-
Notifications
You must be signed in to change notification settings - Fork 254
docker compose config
is lacking/removing version
property
#1824
Comments
Please note you can use multiple compose files as inputs to |
I am asking because in PyCharm integration for |
IIUC PyCharm run external process to interpolate compose file, then parse it. Then you probably want your parser code to be updated so it embrace the compose specification. Typically, you should consider support for Some context on removing |
@ndeloof thank you for the answer.
Do you particularly mean that the |
|
Description
When rendering configurable compose files for
docker stack deploy
, we are usingdocker-compose config
using multiple-f
compose input files and environment placeholder. Unfortunately the output ofdocker compose config
is lacking the docker compose file version property, which is of course part of the input files.docker stack deploy
is not able to deploy, because it falls back to version 1.0 and returning aunsupported Compose file version: 1.0
.Reproduce
Just run
docker compose config
on any valid compose file with aversion
property.Describe the results you received:
Output is lacking the
version
property.Describe the results you expected:
Output is containing the
version
property with the value of the input compose file.Given
The text was updated successfully, but these errors were encountered: