From 63983f3ffe7895fce3a75115a5bcfe8258e5654c Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Tue, 2 Aug 2016 11:24:24 -0400 Subject: [PATCH] Fix missing mount ID on volume unmount Fixes #25331 Signed-off-by: Brian Goff --- container/container_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/container_unix.go b/container/container_unix.go index 9539e6f688..2727b818f5 100644 --- a/container/container_unix.go +++ b/container/container_unix.go @@ -325,7 +325,7 @@ func (container *Container) UnmountVolumes(forceSyscall bool, volumeEventLog fun return err } - volumeMounts = append(volumeMounts, volume.MountPoint{Destination: dest, Volume: mntPoint.Volume}) + volumeMounts = append(volumeMounts, volume.MountPoint{Destination: dest, Volume: mntPoint.Volume, ID: mntPoint.ID}) } // Append any network mounts to the list (this is a no-op on Windows)