diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-10-31 19:39:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-31 19:39:44 +0100 |
commit | ffe36ea9964242235571ad1d21a0c4d825ef5971 (patch) | |
tree | b38d2d9c492ab2b2ad951135fde7e90c37344711 /docs/source/markdown/podman-system-prune.1.md | |
parent | 3e2d9f8662663f2f703bf674408d5255e493e18e (diff) | |
parent | 486fcd4e1e6f00424f1016d8e331582523bd2c68 (diff) | |
download | podman-ffe36ea9964242235571ad1d21a0c4d825ef5971.tar.gz podman-ffe36ea9964242235571ad1d21a0c4d825ef5971.tar.bz2 podman-ffe36ea9964242235571ad1d21a0c4d825ef5971.zip |
Merge pull request #4354 from baude/newdocsstruct
Restructure documentation dir
Diffstat (limited to 'docs/source/markdown/podman-system-prune.1.md')
-rw-r--r-- | docs/source/markdown/podman-system-prune.1.md | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-system-prune.1.md b/docs/source/markdown/podman-system-prune.1.md new file mode 100644 index 000000000..e6297dc0b --- /dev/null +++ b/docs/source/markdown/podman-system-prune.1.md @@ -0,0 +1,37 @@ +% podman-system-prune(1) + +## NAME +podman\-system\-prune - Remove all unused container, image and volume data + +## SYNOPSIS +**podman system prune** [*options*] + +## DESCRIPTION +**podman system prune** removes all unused containers (both dangling and unreferenced), pods and optionally, volumes from local storage. + +With the `all` option, you can delete all unused images. Unused images are dangling images as well as any image that does not have any containers based on it. + +By default, volumes are not removed to prevent important data from being deleted if there is currently no container using the volume. Use the --volumes flag when running the command to prune volumes as well. + +## OPTIONS +**--all**, **-a** + +Remove all unused images not just dangling ones. + +**--force**, **-f** + +Do not prompt for confirmation + +**--help**, **-h** + +Print usage statement + +**--volumes** + +Prune volumes not used by at least one container + +## SEE ALSO +podman(1), podman-image-prune(1), podman-container-prune(1), podman-pod-prune(1), podman-volume-prune(1) + +## HISTORY +February 2019, Originally compiled by Dan Walsh (dwalsh at redhat dot com) |