diff --git a/daemon/delete.go b/daemon/delete.go index e914d2bbd5..f2116bd1d5 100644 --- a/daemon/delete.go +++ b/daemon/delete.go @@ -55,7 +55,10 @@ func (daemon *Daemon) ContainerRm(name string, config *ContainerRmConfig) error return fmt.Errorf("Cannot destroy container %s: %v", name, err) } - container.removeMountPoints(config.RemoveVolume) + if err := container.removeMountPoints(config.RemoveVolume); err != nil { + logrus.Errorf("%v", err) + } + return nil }