1podman-system-reset(1) General Commands Manual podman-system-reset(1)
2
3
4
6 podman-system-reset - Reset storage back to initial state
7
8
10 podman system reset [options]
11
12
14 podman system reset removes all pods, containers, images, networks and
15 volumes, and machines. It also removes the configured graphRoot and
16 runRoot directories. Make sure these are not set to some important di‐
17 rectory.
18
19
20 This command must be run before changing any of the following fields in
21 the containers.conf or storage.conf files: driver, static_dir, tmp_dir
22 or volume_path.
23
24
25 podman system reset reads the current configuration and attempts to re‐
26 move all of the relevant configurations. If the administrator modified
27 the configuration files first, podman system reset might not be able to
28 clean up the previous storage.
29
30
32 --force, -f
33 Do not prompt for confirmation
34
35
36 --help, -h
37 Print usage statement
38
39
41 $ podman system reset
42 WARNING! This will remove:
43 - all containers
44 - all pods
45 - all images
46 - all networks
47 - all build cache
48 - all machines
49 - all volumes
50 - the graphRoot directory: /var/lib/containers/storage
51 - the runRoot directory: /run/containers/storage
52 Are you sure you want to continue? [y/N] y
53
54
55
56 Switching rootless user from VFS driver to overlay with fuse-overlayfs
57 If the user ran rootless containers without having the fuse-overlayfs
58 program installed, podman defaults to the vfs storage in their home di‐
59 rectory. If they want to switch to use fuse-overlay, they must install
60 the fuse-overlayfs package. The user needs to reset the storage to use
61 overlayfs by default. Execute podman system reset as the user first to
62 remove the VFS storage. Now the user can edit the /etc/containers/stor‐
63 age.conf to make any changes if necessary. If the system's default was
64 already overlay, then no changes are necessary to switch to fuse-over‐
65 layfs. Podman looks for the existence of fuse-overlayfs to use it when
66 set in the overlay driver, only falling back to vfs if the program does
67 not exist. Users can run podman info to ensure Podman is using fuse-
68 overlayfs and the overlay driver.
69
70
72 podman(1), podman-system(1), fuse-overlayfs(1), containers-stor‐
73 age.conf(5)
74
75
77 November 2019, Originally compiled by Dan Walsh (dwalsh at redhat dot
78 com)
79
80
81
82 podman-system-reset(1)