diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-11-10 14:25:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 14:25:44 +0000 |
commit | da01191aa3526e3a77d9a055e23c318c26720785 (patch) | |
tree | 0dd82778884baa55de1f9f9f450ada5b0aa94867 /docs/source/markdown/podman-system-reset.1.md | |
parent | 20b26b521079234319b362c5a840e30d85f4f9b3 (diff) | |
parent | 0ba2261528856495b7be0df92c690470dce56091 (diff) | |
download | podman-da01191aa3526e3a77d9a055e23c318c26720785.tar.gz podman-da01191aa3526e3a77d9a055e23c318c26720785.tar.bz2 podman-da01191aa3526e3a77d9a055e23c318c26720785.zip |
Merge pull request #8278 from rhatdan/man1
[CI:DOCS] Add example of fuse-overlay to podman system reset
Diffstat (limited to 'docs/source/markdown/podman-system-reset.1.md')
-rw-r--r-- | docs/source/markdown/podman-system-reset.1.md | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/docs/source/markdown/podman-system-reset.1.md b/docs/source/markdown/podman-system-reset.1.md index 3294bac9b..1e5ef7235 100644 --- a/docs/source/markdown/podman-system-reset.1.md +++ b/docs/source/markdown/podman-system-reset.1.md @@ -7,7 +7,15 @@ podman\-system\-reset - Reset storage back to initial state **podman system reset** [*options*] ## DESCRIPTION -**podman system reset** removes all pods, containers, images and volumes. Must be run after changing any of the following values in the `containers.conf` file: `static_dir`, `tmp_dir` or `volume_path`. +**podman system reset** removes all pods, containers, images and volumes. + +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`. + +`podman system reset` reads the current configuration and attempts to remove all +of the relevant configurations. If the administrator modified the configuration files first, +`podman system reset` might not be able to clean up the previous storage. ## OPTIONS **--force**, **-f** @@ -18,8 +26,24 @@ Do not prompt for confirmation Print usage statement +## EXAMPLES + +### Switching rootless user from VFS driver to overlay with fuse-overlayfs + +If the user ran rootless containers without having the `fuse-overlayfs` program +installed, podman defaults to the `vfs` storage in their home directory. 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. +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. 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. Users can run `podman info` to ensure Podman is +using fuse-overlayfs and the overlay driver. + ## SEE ALSO -`podman(1)`, `podman-system(1)` +`podman(1)`, `podman-system(1)`, `fuse-overlayfs(1)`, `containers-storage.conf(5)` ## HISTORY November 2019, Originally compiled by Dan Walsh (dwalsh at redhat dot com) |