1podman-system-prune(1)() podman-system-prune(1)()
2
3
4
6 podman-system-prune - Remove all unused container, image and volume
7 data
8
9
11 podman system prune [options]
12
13
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 con‐
21 tainers 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
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 --help, -h
43
44
45 Print usage statement
46
47
48 --volumes
49
50
51 Prune volumes not used by at least one container
52
53
55 podman(1), podman-image-prune(1), podman-container-prune(1), pod‐
56 man-pod-prune(1), podman-volume-prune(1)
57
58
60 February 2019, Originally compiled by Dan Walsh (dwalsh at redhat dot
61 com)
62
63
64
65 podman-system-prune(1)()