Files
podman/pkg/adapter/reset.go
Daniel J Walsh 79bf5010ed Add podman system reset command
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>
2019-11-29 05:34:52 -05:00

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())
}