Merge pull request #8933 from jf/fix_docker_stopsignal

drivers/docker/driver.go: change default signal for docker driver to SIGTERM?
This commit is contained in:
Seth Hoenig
2020-09-29 10:51:04 -05:00
committed by GitHub

View File

@@ -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