mirror of
https://github.com/containers/podman.git
synced 2025-10-18 11:42:55 +08:00
Add support for overlay volume mounts in podman.
Add support -v for overlay volume mounts in podman. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Signed-off-by: Qi Wang <qiwan@redhat.com>
This commit is contained in:
@ -1588,6 +1588,12 @@ func (c *Container) cleanupStorage() error {
|
||||
}
|
||||
}
|
||||
|
||||
if err := c.cleanupOverlayMounts(); err != nil {
|
||||
// If the container can't remove content report the error
|
||||
logrus.Errorf("Failed to cleanup overlay mounts for %s: %v", c.ID(), err)
|
||||
cleanupErr = err
|
||||
}
|
||||
|
||||
if c.config.Rootfs != "" {
|
||||
return cleanupErr
|
||||
}
|
||||
|
Reference in New Issue
Block a user