Fix handling of kill in daemon

This commit is contained in:
Dane Everitt
2019-04-21 12:27:53 -07:00
parent 8795e7d739
commit 3de40ddf98
2 changed files with 3 additions and 1 deletions

View File

@@ -163,7 +163,7 @@ func (d *DockerEnvironment) Terminate(signal os.Signal) error {
}
d.Server.Emit(StatusEvent, ProcessStoppingState)
return d.Client.ContainerKill(ctx, d.Server.Uuid, signal.String())
return d.Client.ContainerKill(ctx, d.Server.Uuid, "SIGKILL")
}
// Attaches to the docker container itself and ensures that we can pipe data in and out