mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00

This command will destroy all data created via podman. It will remove containers, images, volumes, pods. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
14 lines
254 B
Go
14 lines
254 B
Go
// +build !remoteclient
|
|
|
|
package adapter
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
// Reset the container storage back to initial states.
|
|
// Removes all Pods, Containers, Images and Volumes.
|
|
func (r *LocalRuntime) Reset() error {
|
|
return r.Runtime.Reset(context.TODO())
|
|
}
|