[BUG] docker compose config --no-interpolate
breaks when using :
in variables and short-form volumes
#12079
Labels
docker compose config --no-interpolate
breaks when using :
in variables and short-form volumes
#12079
Description
Example
compose.yml
Here, I am using the interpolation that throws an error if
DIRECTORY
is empty (see docs)When running
docker compose config --no-interpolate
, I would expect to see:What I actually get:
There must be a naive splitting of the volume string by
:
, as it doesn't happen when using the required value that allows empty values, e.g./${DIRECTORY?error}/:/home/data
produces the correct output
Steps To Reproduce
docker compose config --no-interpolate
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: