github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/docs/source/markdown/podman-system-reset.1.md (about)

     1  % podman-system-reset(1)
     2  
     3  ## NAME
     4  podman\-system\-reset - Reset storage back to initial state
     5  
     6  ## SYNOPSIS
     7  **podman system reset** [*options*]
     8  
     9  ## DESCRIPTION
    10  **podman system reset** removes all pods, containers, images, networks and volumes, and machines.
    11  
    12  This command must be run **before** changing any of the following fields in the
    13  `containers.conf` or `storage.conf` files: `driver`, `static_dir`, `tmp_dir`
    14  or `volume_path`.
    15  
    16  `podman system reset` reads the current configuration and attempts to remove all
    17  of the relevant configurations. If the administrator modified the configuration files first,
    18  `podman system reset` might not be able to clean up the previous storage.
    19  
    20  ## OPTIONS
    21  #### **--force**, **-f**
    22  
    23  Do not prompt for confirmation
    24  
    25  #### **--help**, **-h**
    26  
    27  Print usage statement
    28  
    29  ## EXAMPLES
    30  
    31  ```
    32  $ podman system reset
    33  WARNING! This will remove:
    34          - all containers
    35          - all pods
    36          - all images
    37          - all networks
    38          - all build cache
    39          - all machines
    40  Are you sure you want to continue? [y/N] y
    41  ```
    42  
    43  ### Switching rootless user from VFS driver to overlay with fuse-overlayfs
    44  
    45  If the user ran rootless containers without having the `fuse-overlayfs` program
    46  installed, podman defaults to the `vfs` storage in their home directory. If they
    47  want to switch to use fuse-overlay, they must install the fuse-overlayfs
    48  package. The user needs to reset the storage to use overlayfs by default.
    49  Execute `podman system reset` as the user first to remove the VFS storage. Now
    50  the user can edit the `/etc/containers/storage.conf` to make any changes if
    51  necessary. If the system's default was already `overlay`, then no changes are
    52  necessary to switch to fuse-overlayfs. Podman looks for the existence of
    53  fuse-overlayfs to use it when set in the `overlay` driver, only falling back to vfs
    54  if the program does not exist. Users can run `podman info` to ensure Podman is
    55  using fuse-overlayfs and the overlay driver.
    56  
    57  ## SEE ALSO
    58  **[podman(1)](podman.1.md)**, **[podman-system(1)](podman-system.1.md)**,  **[fuse-overlayfs(1)](https://github.com/containers/fuse-overlayfs/blob/main/fuse-overlayfs.1.md)**, **[containers-storage.conf(5)](https://github.com/containers/storage/blob/main/docs/containers-storage.conf.5.md)**
    59  
    60  ## HISTORY
    61  November 2019, Originally compiled by Dan Walsh (dwalsh at redhat dot com)