From 40b74e02b77e83c377fdae83f626f83403b38152 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Mon, 16 Dec 2019 13:28:16 +0100 Subject: Add `untag` sub-command Podman now supports untagging images via the `untag` sub-command for the root and `image` commands. Testing and documentation has been added as well. Signed-off-by: Sascha Grunert --- API.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'API.md') diff --git a/API.md b/API.md index 469dbaa1b..05b08dc6f 100755 --- a/API.md +++ b/API.md @@ -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" } ~~~ +### func UntagImage +
+ +method UntagImage(name: [string](https://godoc.org/builtin#string), tag: [string](https://godoc.org/builtin#string)) [string](https://godoc.org/builtin#string)
+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. ### func VolumeCreate
-- cgit v1.2.3-54-g00ecf