mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
return more accurate error message when docker kill
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
b81f47a288
commit
cf5734b2e1
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ func (daemon *Daemon) killWithSignal(container *container.Container, sig int) er
|
|||
|
||||
// We could unpause the container for them rather than returning this error
|
||||
if container.Paused {
|
||||
return fmt.Errorf("Container %s is paused. Unpause the container before stopping", container.ID)
|
||||
return fmt.Errorf("Container %s is paused. Unpause the container before stopping or killing", container.ID)
|
||||
}
|
||||
|
||||
if !container.Running {
|
||||
|
|
Loading…
Add table
Reference in a new issue