Merge pull request #8599 from rhatdan/prune

Repeat system pruning until there is nothing removed
This commit is contained in:
OpenShift Merge Robot
2020-12-09 08:46:44 -05:00
committed by GitHub
9 changed files with 84 additions and 49 deletions

View File

@ -1,7 +1,7 @@
% podman-system-prune(1)
## NAME
podman\-system\-prune - Remove all unused container, image and volume data
podman\-system\-prune - Remove all unused pod, container, image and volume data
## SYNOPSIS
**podman system prune** [*options*]
@ -16,7 +16,7 @@ By default, volumes are not removed to prevent important data from being deleted
## OPTIONS
#### **--all**, **-a**
Remove all unused images not just dangling ones.
Recursively remove all unused pod, container, image and volume data (Maximum 50 iterations.)
#### **--force**, **-f**

View File

@ -17,7 +17,7 @@ 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. |
| 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. |
| prune | [podman-system-prune(1)](podman-system-prune.1.md) | Remove all unused pod, 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. |
| service | [podman-system-service(1)](podman-system-service.1.md) | Run an API service |