add support for stop_signal to compose file
Signed-off-by: Jonathan Stewmon <jstewmon@rmn.com>
This commit is contained in:
parent
d4b4b126fb
commit
5d8c2d3cec
7 changed files with 39 additions and 0 deletions
10
tests/fixtures/stop-signal-composefile/docker-compose.yml
vendored
Normal file
10
tests/fixtures/stop-signal-composefile/docker-compose.yml
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
simple:
|
||||
image: busybox:latest
|
||||
command:
|
||||
- sh
|
||||
- '-c'
|
||||
- |
|
||||
trap 'exit 0' SIGINT
|
||||
trap 'exit 1' SIGTERM
|
||||
while true; do :; done
|
||||
stop_signal: SIGINT
|
||||
Loading…
Add table
Add a link
Reference in a new issue