mirror of
https://github.com/containers/podman.git
synced 2025-12-01 18:49:18 +08:00
Vendor in buildah and use as much of commit and bug as possible for podman build and commit. Resolves #586 Signed-off-by: baude <bbaude@redhat.com> Closes: #681 Approved by: mheon
12 lines
202 B
Go
12 lines
202 B
Go
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
|
|
}
|