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
commit 6d9a6786e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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