diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-01-08 15:05:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-08 15:05:06 +0100 |
commit | 27caffbb240725255485deaaecd548663adbf1fd (patch) | |
tree | aa6bb260b836f8cb534cd494e953b781dffc57bd /API.md | |
parent | 0b9dd1a1a0e967e87c242c865cd244f90cb740e1 (diff) | |
parent | 40b74e02b77e83c377fdae83f626f83403b38152 (diff) | |
download | podman-27caffbb240725255485deaaecd548663adbf1fd.tar.gz podman-27caffbb240725255485deaaecd548663adbf1fd.tar.bz2 podman-27caffbb240725255485deaaecd548663adbf1fd.zip |
Merge pull request #4712 from openSUSE/untag-command
Add `untag` sub-command
Diffstat (limited to 'API.md')
-rwxr-xr-x | API.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -185,6 +185,8 @@ in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in [func UnpausePod(name: string) string](#UnpausePod) +[func UntagImage(name: string, tag: string) string](#UntagImage) + [func VolumeCreate(options: VolumeCreateOpts) string](#VolumeCreate) [func VolumeRemove(options: VolumeRemoveOpts) []string, map[string]](#VolumeRemove) @@ -1234,6 +1236,14 @@ $ varlink call -m unix:/run/podman/io.podman/io.podman.UnpausePod '{"name": "foo "pod": "1840835294cf076a822e4e12ba4152411f131bd869e7f6a4e8b16df9b0ea5c7f" } ~~~ +### <a name="UntagImage"></a>func UntagImage +<div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;"> + +method UntagImage(name: [string](https://godoc.org/builtin#string), tag: [string](https://godoc.org/builtin#string)) [string](https://godoc.org/builtin#string)</div> +UntagImage takes the name or ID of an image in local storage as well as the +tag name to be removed. If the image cannot be found, an +[ImageNotFound](#ImageNotFound) error will be returned; otherwise, the ID of +the image is returned on success. ### <a name="VolumeCreate"></a>func VolumeCreate <div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;"> |