An image tag is a textual name attached to an image reference. Multiple tags can identify the same image ID, while different tags can distinguish application versions such as latest and 1.0. section 2.2.6
Use tags with Podman to name, publish, and manage image versions:
- Inspect local repositories, tags, and image IDs with podman images. section 2.2.6
- Add a registry-qualified name with podman tag myimage quay.io/rhatdan/myimage. section 2.2.6
- Assign an explicit release tag, then push it with podman push quay.io/rhatdan/myimage:1.0. section 2.2.6
- Remove a tag with podman rmi; storage is reclaimed only after the final tag is removed. section 2.2.7
Tagging a built image
Build with podman build -t quay.io/rhatdan/myimage ./myapp. Podman creates the latest tag implicitly. A later build can replace that name, leaving the previous image as a dangling <none>:<none> image that can be restored with podman tag or removed with podman rmi. section 2.3.2
$ podman images REPOSITORY TAG IMAGE ID CREATED SIZE localhost/myimage latest 2c7e43d88038 46 hours ago 462 MB quay.io/rhatdan/myimage latest 2c7e43d88038 46 hours ago 462 MB registry.access.redhat .com/ubi8/httpd-24 latest 8594be0a0b57 5 weeks ago 462 MB registry.access.redhat .com/ubi8 latest ad42391b9b46 5 weeks ago 234 MB
Compare multiple repository and tag names pointing to the same image ID. section 2.2.6





