mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user