Merge pull request #1943 from giuseppe/allow-to-signal-paused-containers

kill: allow to signal paused containers
This commit is contained in:
Michael Crosby
2018-12-03 16:55:13 -05:00
committed by GitHub
+1 -1
View File
@@ -382,7 +382,7 @@ func (c *linuxContainer) Signal(s os.Signal, all bool) error {
return err
}
// to avoid a PID reuse attack
if status == Running || status == Created {
if status == Running || status == Created || status == Paused {
if err := c.initProcess.signal(s); err != nil {
return newSystemErrorWithCause(err, "signaling init process")
}