mirror of https://github.com/docker/docs.git
docker rm <unknown>
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
8a0733ce69
commit
3eaa1c99c1
|
@ -20,7 +20,7 @@ func (daemon *Daemon) ContainerRm(job *engine.Job) engine.Status {
|
||||||
container := daemon.Get(name)
|
container := daemon.Get(name)
|
||||||
|
|
||||||
if container == nil {
|
if container == nil {
|
||||||
job.Errorf("No such container: %s", name)
|
return job.Errorf("No such container: %s", name)
|
||||||
}
|
}
|
||||||
|
|
||||||
if removeLink {
|
if removeLink {
|
||||||
|
|
Loading…
Reference in New Issue