podman-system-reset(1)
π podman-system-reset β reset storage back to initial state π
okay bestie, welcome to podman-system-reset(1), a page from the General Commands Manual β¨ this is the big red button. the nuclear option. the "we're starting over" moment. let's get into it π«Ά
β¨ SYNOPSIS β¨
podman system reset [options]
πΈ DESCRIPTION πΈ
okay so podman system reset removes all pods, containers, images, networks and volumes, and machines. all of it. gone. it also removes the configured graphRoot and runRoot directories.
π bestie PLEASE make sure those aren't set to some important directory. like, actually check. we are not joking around here.
this command must be run before changing any of the following fields in the containers.conf or storage.conf files: driver, static_dir, tmp_dir or volume_path.
here's the thing though β podman system reset reads the current configuration and attempts to remove all of the relevant configurations. so if the administrator modified the configuration files first? yeah, podman system reset might not be able to clean up the previous storage. order of operations matters, iykyk π
also, and this is important: podman system reset does not restart podman.service and podman.socket systemd units. you may need to manually restart it after running this command. no cap.
β¨ OPTIONS β¨
--force,-fβ do not prompt for confirmation. it just goes π--help,-hβ print usage statement π
π EXAMPLES π
reset all storage back to a clean initialized state
$ podman system reset
WARNING! This will remove:
- all containers
- all pods
- all images
- all networks
- all build cache
- all machines
- all volumes
- the graphRoot directory: /var/lib/containers/storage
- the runRoot directory: /run/containers/storage
Are you sure you want to continue? [y/N] y
look at that list. the whole inventory. it's giving apocalypse π but it's fine, it's fine, you said y yourself.
force reset all storage back to a clean initialized state
$ podman system reset --force
no questions, no confirmation, just vibes and deletion π₯
switching rootless user from VFS driver to overlay with fuse-overlayfs
okay this one's a whole situation, so let's break it down π§
if the user ran rootless containers without having the fuse-overlayfs program installed, podman defaults to the vfs storage in their home directory. so you're on vfs, not by choice, just by circumstance. tragic.
if they want to switch to use fuse-overlay, they must install the fuse-overlayfs package. π¦
the user needs to reset the storage to use overlayfs by default. so β execute podman system reset as the user first, to remove the VFS storage. ποΈ
now the user can edit the /etc/containers/storage.conf to make any changes if necessary. βοΈ
if the system's default was already overlay, then no changes are necessary to switch to fuse-overlayfs. slay, nothing to do π
podman looks for the existence of fuse-overlayfs to use it when set in the overlay driver, only falling back to vfs if the program does not exist. so like, it checks first. π
users can run podman info to ensure podman is using fuse-overlayfs and the overlay driver. go verify, bestie, you deserve the confirmation β¨
π¦ SEE ALSO π¦
π HISTORY π
November 2019, originally compiled by Dan Walsh (dwalsh at redhat dot com) π
and that's the whole page, babe π«Ά it's podman-system-reset(1) from the General Commands Manual, and that little footer tag right at the bottom is just the page name itself β podman-system-reset(1) β doing its thing. go forth, reset responsibly, and always check your graphRoot first ππΈβ¨
π¦ where this page comes from
- alpine 3.24: podman-doc 5.8.9-r0 Β· Apache-2.0
- arch rolling: podman 6.1.4-1 Β· Apache-2.0
- centos-stream 10: podman 7:6.1.0-2.el10 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- centos-stream 9: podman 6:5.8.5-2.el9 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman 5:5.6.2-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman 5:5.8.4-1.fc43
- fedora 43: podman 5:5.8.8-1.fc43
- fedora 43: podman 5:5.8.9-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman 5:5.8.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman 5:5.8.7-1.fc44
- fedora 44: podman 5:5.8.9-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- nixos 26.05: podman 5.8.9
- nixpkgs unstable: podman 6.1.4
- ubuntu resolute: podman 5.7.0+ds2-3build1 Β· Apache-2.0
- ubuntu stonking: podman 5.8.6+ds1-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms