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:
commit
6d9a6786e5
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue