mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-29 03:37:54 +00:00
Switch from projectatomic/buildah to containers/buildah Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
11 lines
212 B
Go
11 lines
212 B
Go
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
|
|
}
|