diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-11-29 15:05:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-29 15:05:03 +0100 |
commit | 39c705e9405faa4d02b71165d05eec1e7bb44d93 (patch) | |
tree | f2b2ec4d93638ac661ab8f0c8c6aa38f234e8552 /API.md | |
parent | 7b99ef0b84c7b5e758544d0a25956674e7ea7db1 (diff) | |
parent | 79bf5010eda37c07f577414ae71ecb8f8c8714a2 (diff) | |
download | podman-39c705e9405faa4d02b71165d05eec1e7bb44d93.tar.gz podman-39c705e9405faa4d02b71165d05eec1e7bb44d93.tar.bz2 podman-39c705e9405faa4d02b71165d05eec1e7bb44d93.zip |
Merge pull request #4558 from rhatdan/reset
Add podman system reset command
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;"> |