diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2019-11-22 11:39:49 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2019-11-29 05:34:52 -0500 |
commit | 79bf5010eda37c07f577414ae71ecb8f8c8714a2 (patch) | |
tree | cd2d631a0c42d7bbb4f1b2631be8d833071644da /API.md | |
parent | b4313b296a271097d26e481a0f03d22b9bab683b (diff) | |
download | podman-79bf5010eda37c07f577414ae71ecb8f8c8714a2.tar.gz podman-79bf5010eda37c07f577414ae71ecb8f8c8714a2.tar.bz2 podman-79bf5010eda37c07f577414ae71ecb8f8c8714a2.zip |
Add podman system reset command
This command will destroy all data created via podman.
It will remove containers, images, volumes, pods.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'API.md')
-rwxr-xr-x | API.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -149,6 +149,8 @@ in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in [func RemovePod(name: string, force: bool) string](#RemovePod) +[func Reset() ](#Reset) + [func RestartContainer(name: string, timeout: int) string](#RestartContainer) [func RestartPod(name: string) string](#RestartPod) @@ -1059,6 +1061,12 @@ $ varlink call -m unix:/run/podman/io.podman/io.podman.RemovePod '{"name": "62f4 "pod": "62f4fd98cb57f529831e8f90610e54bba74bd6f02920ffb485e15376ed365c20" } ~~~ +### <a name="Reset"></a>func Reset +<div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;"> + +method Reset() </div> +Reset resets Podman back to its initial state. +Removes all Pods, Containers, Images and Volumes ### <a name="RestartContainer"></a>func RestartContainer <div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;"> |