mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
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 <sgrunert@suse.com>
This commit is contained in:
1
docs/source/markdown/links/podman-image-untag.1
Normal file
1
docs/source/markdown/links/podman-image-untag.1
Normal file
@ -0,0 +1 @@
|
||||
.so man1/podman-untag.1
|
@ -27,6 +27,7 @@ The image command allows you to manage images
|
||||
| save | [podman-save(1)](podman-save.1.md) | Save an image to docker-archive or oci. |
|
||||
| sign | [podman-image-sign(1)](podman-image-sign.1.md) | Create a signature for an image. |
|
||||
| tag | [podman-tag(1)](podman-tag.1.md) | Add an additional name to a local image. |
|
||||
| untag | [podman-untag(1)](podman-untag.1.md) | Removes one or more names from a locally-stored image. |
|
||||
| tree | [podman-image-tree(1)](podman-image-tree.1.md) | Prints layer hierarchy of an image in a tree format. |
|
||||
| trust | [podman-image-trust(1)](podman-image-trust.1.md)| Manage container registry image trust policy. |
|
||||
|
||||
|
37
docs/source/markdown/podman-untag.1.md
Normal file
37
docs/source/markdown/podman-untag.1.md
Normal file
@ -0,0 +1,37 @@
|
||||
% podman-untag(1)
|
||||
|
||||
## NAME
|
||||
podman\-untag - Removes one or more names from a locally-stored image
|
||||
|
||||
## SYNOPSIS
|
||||
**podman untag** *image*[:*tag*] [*target-names*[:*tag*]] [*options*]
|
||||
|
||||
**podman image untag** *image*[:*tag*] [target-names[:*tag*]] [*options*]
|
||||
|
||||
## 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.
|
||||
|
||||
## OPTIONS
|
||||
|
||||
**--help**, **-h**
|
||||
|
||||
Print usage statement
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
```
|
||||
$ podman untag 0e3bbc2
|
||||
|
||||
$ podman untag imageName:latest otherImageName:latest
|
||||
|
||||
$ podman untag httpd myregistryhost:5000/fedora/httpd:v2
|
||||
```
|
||||
|
||||
|
||||
## SEE ALSO
|
||||
podman(1)
|
||||
|
||||
## HISTORY
|
||||
December 2019, Originally compiled by Sascha Grunert <sgrunert@suse.com>
|
@ -201,6 +201,7 @@ the exit codes follow the `chroot` standard, see below:
|
||||
| [podman-umount(1)](podman-umount.1.md) | Unmount a working container's root filesystem. |
|
||||
| [podman-unpause(1)](podman-unpause.1.md) | Unpause one or more containers. |
|
||||
| [podman-unshare(1)](podman-unshare.1.md) | Run a command inside of a modified user namespace. |
|
||||
| [podman-untag(1)](podman-untag.1.md) | Removes one or more names from a locally-stored image. |
|
||||
| [podman-varlink(1)](podman-varlink.1.md) | Runs the varlink backend interface. |
|
||||
| [podman-version(1)](podman-version.1.md) | Display the Podman version information. |
|
||||
| [podman-volume(1)](podman-volume.1.md) | Simple management tool for volumes. |
|
||||
|
Reference in New Issue
Block a user