diff --git a/components/engine/daemon/container_unix.go b/components/engine/daemon/container_unix.go index f4864b027a..d713bdb38c 100644 --- a/components/engine/daemon/container_unix.go +++ b/components/engine/daemon/container_unix.go @@ -1511,8 +1511,8 @@ func (container *Container) unmountVolumes(forceSyscall bool) error { for _, volumeMount := range volumeMounts { if forceSyscall { - if err := system.Unmount(volumeMount.Destination); err != nil { - logrus.Warnf("%s unmountVolumes: Failed to force umount %v", container.ID, err) + if err := detachMounted(volumeMount.Destination); err != nil { + logrus.Warnf("%s unmountVolumes: Failed to do lazy umount %v", container.ID, err) } }