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>
This commit is contained in:
Daniel J Walsh
2019-11-22 11:39:49 -05:00
parent b4313b296a
commit 79bf5010ed
16 changed files with 383 additions and 3 deletions

View File

@ -0,0 +1,25 @@
% podman-system-reset(1)
## NAME
podman\-system\-reset - Reset storage back to initial state
## SYNOPSIS
**podman system reset**
## DESCRIPTION
**podman system reset** removes all pods, containers, images and volumes.
## OPTIONS
**--force**, **-f**
Do not prompt for confirmation
**--help**, **-h**
Print usage statement
## SEE ALSO
`podman(1)`, `podman-system(1)`
## HISTORY
November 2019, Originally compiled by Dan Walsh (dwalsh at redhat dot com)

View File

@ -15,9 +15,10 @@ The system command allows you to manage the podman systems
| ------- | --------------------------------------------------- | ---------------------------------------------------------------------------- |
| df | [podman-system-df(1)](podman-system-df.1.md) | Show podman disk usage. |
| info | [podman-system-info(1)](podman-info.1.md) | Displays Podman related system information. |
| prune | [podman-system-prune(1)](podman-system-prune.1.md) | Remove all unused container, image and volume data |
| renumber | [podman-system-renumber(1)](podman-system-renumber.1.md)| Migrate lock numbers to handle a change in maximum number of locks. |
| migrate | [podman-system-migrate(1)](podman-system-migrate.1.md)| Migrate existing containers to a new podman version. |
| prune | [podman-system-prune(1)](podman-system-prune.1.md) | Remove all unused container, image and volume data. |
| renumber | [podman-system-renumber(1)](podman-system-renumber.1.md)| Migrate lock numbers to handle a change in maximum number of locks. |
| reset | [podman-system-reset(1)](podman-system-reset.1.md) | Reset storage back to initial state. |
## SEE ALSO
podman(1)