Fix missing mount ID on volume unmount
Fixes #25331
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit 63983f3ffe
)
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
40baa97ab1
commit
b32462e2a4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue