aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/projectatomic/buildah/unmount.go
blob: e1578bf712a24f82cdf1e64501531d62dbfbab57 (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)
	if err == nil {
		b.MountPoint = ""
		err = b.Save()
	}
	return err
}