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>
This commit is contained in:
David Calavera 2015-05-26 14:28:26 -07:00
parent fc679bebb9
commit f78dce152c

View file

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