mirror of
https://github.com/docker/compose.git
synced 2026-06-25 10:38:23 +00:00
- set flag name to `--exit-code-from` (and rename some variable, function and test names to match) - force cascade_stop to true when exit-code-from flag is set - use lambda in filter statement - check that selected container name is in the project before running - remove fancy parsing of service name to container mappings: if there are multiple containers in a service, return the first nonzero exit value if any - flake8 changes Signed-off-by: Nathan J. Mehl <n@climate.com>
6 lines
138 B
YAML
6 lines
138 B
YAML
simple:
|
|
image: busybox:latest
|
|
command: sh -c "echo hello && tail -f /dev/null"
|
|
another:
|
|
image: busybox:latest
|
|
command: /bin/false
|