diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-02-11 16:26:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-11 16:26:46 +0100 |
commit | 921f98f8795eb9fcb19ce581020cfdeff6dee09f (patch) | |
tree | 82dc53e3c61fec956eef1efa3e540d1abe5df7f4 /API.md | |
parent | dc5c061cdcad2f815d9f8c0556a3e13824e6ba75 (diff) | |
parent | cbeca379250932f01fa4e2ffc70e9c2ecd6701bc (diff) | |
download | podman-921f98f8795eb9fcb19ce581020cfdeff6dee09f.tar.gz podman-921f98f8795eb9fcb19ce581020cfdeff6dee09f.tar.bz2 podman-921f98f8795eb9fcb19ce581020cfdeff6dee09f.zip |
Merge pull request #2294 from mheon/v1.0_backports
V1.0 backports
Diffstat (limited to 'API.md')
-rwxr-xr-x | API.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -57,6 +57,8 @@ in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in [func ImageExists(name: string) int](#ImageExists) +[func ImagesPrune(all: bool) []string](#ImagesPrune) + [func ImportImage(source: string, reference: string, message: string, changes: []string) string](#ImportImage) [func InspectContainer(name: string) string](#InspectContainer) @@ -543,6 +545,12 @@ $ varlink call -m unix:/run/podman/io.podman/io.podman.ImageExists '{"name": "im "exists": 1 } ~~~ +### <a name="ImagesPrune"></a>func ImagesPrune +<div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;"> + +method ImagesPrune(all: [bool](https://godoc.org/builtin#bool)) [[]string](#[]string)</div> +ImagesPrune removes all unused images from the local store. Upon successful pruning, +the IDs of the removed images are returned. ### <a name="ImportImage"></a>func ImportImage <div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;"> |