diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-06-24 14:44:42 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-06-24 15:34:46 +0200 |
commit | 1c6c12581ce0f2257a862e3a6a8dbaa7d0f32686 (patch) | |
tree | 391f714100dd231325c7c27d741c3de2ecb06e48 /docs | |
parent | 0d26b8f24babcd847a7412907e622514925544a4 (diff) | |
download | podman-1c6c12581ce0f2257a862e3a6a8dbaa7d0f32686.tar.gz podman-1c6c12581ce0f2257a862e3a6a8dbaa7d0f32686.tar.bz2 podman-1c6c12581ce0f2257a862e3a6a8dbaa7d0f32686.zip |
podman untag: error if tag doesn't exist
Throw an error if a specified tag does not exist. Also make sure that
the user input is normalized as we already do for `podman tag`.
To prevent regressions, add a set of end-to-end and systemd tests.
Last but not least, update the docs and add bash completions.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/markdown/podman-untag.1.md | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/source/markdown/podman-untag.1.md b/docs/source/markdown/podman-untag.1.md index 3a54283d6..c83a0544c 100644 --- a/docs/source/markdown/podman-untag.1.md +++ b/docs/source/markdown/podman-untag.1.md @@ -4,14 +4,12 @@ podman\-untag - Removes one or more names from a locally-stored image ## SYNOPSIS -**podman untag** *image*[:*tag*] [*target-names*[:*tag*]] [*options*] +**podman untag** [*options*] *image* [*name*[:*tag*]...] -**podman image untag** *image*[:*tag*] [target-names[:*tag*]] [*options*] +**podman image untag** [*options*] *image* [*name*[:*tag*]...] ## DESCRIPTION -Removes one or all names of an image. A name refers to the entire image name, -including the optional *tag* after the `:`. If no target image names are -specified, `untag` will remove all tags for the image at once. +Remove one or more names from an image in the local storage. The image can be referred to by ID or reference. If a no name is specified, all names are removed the image. If a specified name is a short name and does not include a registry `localhost/` will be prefixed (e.g., `fedora` -> `localhost/fedora`). If a specified name does not include a tag `:latest` will be appended (e.g., `localhost/fedora` -> `localhost/fedora:latest`). ## OPTIONS |