blob: cdb511170e60de172dc71ea431259b4259e48f66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package buildah
// Unmount unmounts a build container.
func (b *Builder) Unmount() error {
_, err := b.store.Unmount(b.ContainerID, false)
if err == nil {
b.MountPoint = ""
err = b.Save()
}
return err
}
|