mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Fix missing mount ID on volume unmount
Fixes #25331 Signed-off-by: Brian Goff <cpuguy83@gmail.com> (cherry picked from commit 63983f3ffe7895fce3a75115a5bcfe8258e5654c) Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user