1podman-system-prune(1)      General Commands Manual     podman-system-prune(1)
2
3
4

NAME

6       podman-system-prune - Remove all unused container, image and volume
7       data
8
9

SYNOPSIS

11       podman system prune [-all|--a] [-force|--f] [-help|--h] [-volumes|--v]
12
13

DESCRIPTION

15       podman system prune removes all unused containers (both dangling and
16       unreferenced), pods and optionally, volumes from local storage.
17
18
19       With the all option, you can delete all unused images.  Unused images
20       are dangling images as well as any image that does not have any
21       containers based on it.
22
23
24       By default, volumes are not removed to prevent important data from
25       being deleted if there is currently no container using the volume. Use
26       the --volumes flag when running the command to prune volumes as well.
27
28

OPTIONS

30       --all, -a
31
32
33       Remove all unused images not just dangling ones.
34
35
36       --force, -f
37
38
39       Do not prompt for confirmation
40
41
42       --volumes
43
44
45       Prune volumes not used by at least one container
46
47

SEE ALSO

49       podman(1), podman-image-prune(1), podman-container-prune(1),
50       podman-pod-prune(1), podman-volume-prune(1)
51
52
53

HISTORY

55       February 2019, Originally compiled by Dan Walsh (dwalsh at redhat dot
56       com)
57
58
59
60                                     podman             podman-system-prune(1)
Impressum