mirror of
https://github.com/containers/skopeo.git
synced 2026-07-14 22:28:37 +00:00
We have decided not to support using the --link param in the CLI. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
18 lines
384 B
Go
18 lines
384 B
Go
package buildah
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
// Delete removes the working container. The Builder object should not be used
|
|
// after this method is called.
|
|
func (b *Builder) Delete() error {
|
|
if err := b.store.DeleteContainer(b.ContainerID); err != nil {
|
|
return fmt.Errorf("error deleting build container: %v", err)
|
|
}
|
|
b.MountPoint = ""
|
|
b.Container = ""
|
|
b.ContainerID = ""
|
|
return nil
|
|
}
|