mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
commit
136631df46
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ func (daemon *Daemon) ContainerDestroy(job *engine.Job) engine.Status {
|
|||
return job.Errorf("Could not kill running container, cannot remove - %v", err)
|
||||
}
|
||||
} else {
|
||||
return job.Errorf("You cannot remove a running container. Stop the container before attempting removal or use -s or -k")
|
||||
return job.Errorf("You cannot remove a running container. Stop the container before attempting removal or use -f")
|
||||
}
|
||||
}
|
||||
if err := daemon.Destroy(container); err != nil {
|
||||
|
|
Loading…
Reference in a new issue