Skip to content

Commit 63983f3

Browse files
committed
Fix missing mount ID on volume unmount
Fixes moby#25331 Signed-off-by: Brian Goff <[email protected]>
1 parent b47df1d commit 63983f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

container/container_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ func (container *Container) UnmountVolumes(forceSyscall bool, volumeEventLog fun
325325
return err
326326
}
327327

328-
volumeMounts = append(volumeMounts, volume.MountPoint{Destination: dest, Volume: mntPoint.Volume})
328+
volumeMounts = append(volumeMounts, volume.MountPoint{Destination: dest, Volume: mntPoint.Volume, ID: mntPoint.ID})
329329
}
330330

331331
// Append any network mounts to the list (this is a no-op on Windows)

0 commit comments

Comments
 (0)