Open TylerRick opened 6 years ago
I think trying to re-implement the docker-compose merge logic could get a little hairy, and it'd be hard to make sure it was always consistent with how docker-compose behaves. I'm not opposed to barfing and telling the user to give the merged input (or subshelling and getting the input of docker-compose config
) instead.
It looks like it's currently just ignoring any
extends
directives in compose files.Expected: I would expect it to either read in the file referenced by
extends
in the same way docker-compose does or give an error asking you to usedocker-compose config
if it detects the file containsextends
.Could even have it read in
docker-compose.yml
(anddocker-compose.override.yml
if present) by default forcompose
input type, the same way docker-compose does... though perhaps it's fine to keep it explicit, esp. given that thedocker-compose config
option is so easily available.