From b84d63c4ba6a5dcb67e79018307b94e883810e6c Mon Sep 17 00:00:00 2001 From: Jeffrey 'jf' Lim Date: Sun, 20 Sep 2020 03:09:07 +0800 Subject: [PATCH] drivers/docker/driver.go: change default signal for docker driver to SIGTERM? --- drivers/docker/driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/docker/driver.go b/drivers/docker/driver.go index fd5908e2f..1823e74ca 100644 --- a/drivers/docker/driver.go +++ b/drivers/docker/driver.go @@ -1299,7 +1299,7 @@ func (d *Driver) StopTask(taskID string, timeout time.Duration, signal string) e } if signal == "" { - signal = "SIGINT" + signal = "SIGTERM" } // Windows Docker daemon does not support SIGINT, SIGTERM is the semantic equivalent that