podman-tag(1)
π podman-tag(1) β the general commands manual, but make it cute
okay bestie, gather round, because this is the podman-tag page from the General Commands Manual and it's literally the glow-up your local images have been waiting for β¨
β¨ NAME β¨
podman-tag β add an additional name to a local image π·οΈ
π¦ SYNOPSIS π¦
podman tag image[:tag] [target-name[:tag]...] [options]
podman image tag image[:tag] [target-name[:tag]...] [options]
πΈ DESCRIPTION πΈ
So what this does is it assigns a new image name to an existing image. That's it, that's the whole vibe. π
A full name means the entire image name, and yes that includes the optional tag that lives after the :. Like, the whole package, not just the first part.
And if you don't hand over a tag? Podman just defaults to latest β for both the image and the target-name. No tag, no stress, it's giving :latest energy by default. π
π OPTIONS π
--help,-hβ print usage statement. That's the whole option list bestie, she's low maintenance fr fr π
π EXAMPLES π
Tag specified image with an image name defaulting to :latest.
$ podman tag 0e3bbc2 fedora:latest
Tag specified image with fully specified image name.
$ podman tag httpd myregistryhost:5000/fedora/httpd:v2
Tag specified image with multiple tags.
$ podman tag mymariadb mycontainerregistry.io/namespace/mariadb:10 mycontainerregistry.io/namespace/mariadb:10.11 mycontainerregistry.io/namespace/mariadb:10.11.12
like, one image, three tags, absolutely iconic behavior πβ
π SEE ALSO π
podman(1) β go read the main character's page too π«Ά
π HISTORY π
- December 2019 β Update description to refer to 'name' instead of 'alias' by Sascha Grunert
sgrunert@suse.comβ¨mailto:sgrunert@suse.comβ© - July 2017 β Originally compiled by Ryan Cole
rycole@redhat.comβ¨mailto:rycole@redhat.comβ©
and that's the whole page, no cap π This was podman-tag(1) from the General Commands Manual, last touched by those lovely humans back in December 2019 (and born way back in July 2017) β so yeah, it's a classic, and it ate. πβ¨π
π¦ where this page comes from
- alpine 3.24: podman-doc 5.8.9-r0 Β· Apache-2.0
- arch rolling: podman 6.1.4-1 Β· Apache-2.0
- centos-stream 10: podman 7:6.1.0-2.el10 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- centos-stream 9: podman 6:5.8.5-2.el9 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman 5:5.6.2-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman 5:5.8.4-1.fc43
- fedora 43: podman 5:5.8.8-1.fc43
- fedora 43: podman 5:5.8.9-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman 5:5.8.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman 5:5.8.7-1.fc44
- fedora 44: podman 5:5.8.9-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- nixos 26.05: podman 5.8.9
- nixpkgs unstable: podman 6.1.4
- opensuse-leap 16.0: podman 5.4.2-160000.6.1 Β· Apache-2.0
- opensuse-leap 16.0: podman 5.4.2-160000.6.1 Β· Apache-2.0
- opensuse-leap 16.0: podman 5.4.2-160000.6.1 Β· Apache-2.0
- opensuse-leap 16.0: podman 5.4.2-160000.6.1 Β· Apache-2.0
- ubuntu resolute: podman 5.7.0+ds2-3build1 Β· Apache-2.0
- ubuntu stonking: podman 5.8.6+ds1-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms