summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-02-03 08:43:16 -0500
committerGitHub <noreply@github.com>2022-02-03 08:43:16 -0500
commitababa93ec5b79e4c1ff6507cd3ed7fbdcefc0e1a (patch)
tree69bc9576f3ca2d8f41a8b61c9bf23b0c725fa9fd /cmd
parentf2263fade4aef30fd619b648e4d1ca4aaf6bd506 (diff)
parent55c4a1468b8738a5711d213cfe7c172b463ecd24 (diff)
downloadpodman-ababa93ec5b79e4c1ff6507cd3ed7fbdcefc0e1a.tar.gz
podman-ababa93ec5b79e4c1ff6507cd3ed7fbdcefc0e1a.tar.bz2
podman-ababa93ec5b79e4c1ff6507cd3ed7fbdcefc0e1a.zip
Merge pull request #13116 from Luap99/reset-networks
system prune: remove all networks
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/system/reset.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/podman/system/reset.go b/cmd/podman/system/reset.go
index 85ee8557a..07904faaa 100644
--- a/cmd/podman/system/reset.go
+++ b/cmd/podman/system/reset.go
@@ -21,7 +21,7 @@ import (
var (
systemResetDescription = `Reset podman storage back to default state"
- All containers will be stopped and removed, and all images, volumes and container content will be removed.
+ All containers will be stopped and removed, and all images, volumes, networks and container content will be removed.
`
systemResetCommand = &cobra.Command{
Annotations: map[string]string{registry.EngineMode: registry.ABIMode},
@@ -55,11 +55,11 @@ func reset(cmd *cobra.Command, args []string) {
// Prompt for confirmation if --force is not set
if !forceFlag {
reader := bufio.NewReader(os.Stdin)
- fmt.Println(`
-WARNING! This will remove:
+ fmt.Println(`WARNING! This will remove:
- all containers
- all pods
- all images
+ - all networks
- all build cache`)
if len(listCtn) > 0 {
fmt.Println(`WARNING! The following external containers will be purged:`)