Do not force syscall.Unmount on container cleanup.

This is not necessary and it's a regression from the old behavior.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Upstream-commit: f78dce152c3c67bf262648028ff7932ca461b6fd
Component: engine
This commit is contained in:
David Calavera
2015-05-26 14:28:26 -07:00
parent 7991258f62
commit f26677f4cf

View File

@ -347,7 +347,7 @@ func (container *Container) cleanup() {
container.daemon.unregisterExecCommand(eConfig)
}
container.UnmountVolumes(true)
container.UnmountVolumes(false)
}
func (container *Container) KillSig(sig int) error {