Nicolas De loof
Nicolas De loof
indeed. Release note is generated from pull requests description, but here multiple changes/features were introduced fixed
This is available in Docker Compose v2.24 and later
I tried to reproduce the reproduction scenario with latest release and get the expected behavior ``` $ docker compose -f compose.yml -f compose-dev.yml config services: nginx: healthcheck: test: - CMD-SHELL...
Docker compose is not involved in container lifecycle being restarted after a reboot. So it can't be involved in this scenario to help you make application resilient. > maybe a...
seems to me this issue has been fixed by Compose v2, especially thanks to https://github.com/docker/compose/commit/7c5675c30631178c4955856fb9ce6eecc0898525#diff-2a6b4d85b4172a20829d65bb72126a9402faf6490ee556964f6a4e167cf3a8bbR180-R183
Shell commands ALWAYS are overridden, see https://github.com/compose-spec/compose-spec/blob/master/13-merge.md#shell-commands Your use case is better addressed with an entrypoint + command to pass additional parameters
This has been fixed by https://github.com/compose-spec/compose-go/issues/304
better read the reference : https://docs.docker.com/compose/multiple-compose-files/merge/#reference-information
as already noted, this is explicitly documented in reference content https://github.com/compose-spec/compose-spec/blob/master/13-merge.md#shell-commands
fixed by https://github.com/compose-spec/compose-go/pull/336