Files
podman/docs/podman-tag.1.md
baude b351b12e27 Tagging an image alias by shortname
When trying to tag an alias (tag) of an image using only the shortname
and no tag, we were unable to find the image in storage.  This corrects
that issue and adds an integration test to protect against regression. I
also updated the man page per the filed issue.

While writing the integration test, I discovered that inspect could also
not find a tagged image without its :tag.

Resolves Issue #385
Resolves Issue #384

Signed-off-by: baude <bbaude@redhat.com>

Closes: #398
Approved by: mheon
2018-02-26 18:28:54 +00:00

726 B

% podman(1) podman-tag - Add tags to an image % Ryan Cole

podman-tag "1" "July 2017" "podman"

NAME

podman tag - Add an additional name to a local image

SYNOPSIS

podman [GLOBAL OPTIONS] tag IMAGE[:TAG] TARGET_NAME[:TAG] [--help|-h]

DESCRIPTION

Assigns a new alias to an image. An alias refers to the entire image name, including the optional TAG after the ':' If you do not provide a :TAG, podman will assume a :TAG of "latest" for both the IMAGE and the TARGET_NAME.

EXAMPLES

podman tag 0e3bbc2 fedora:latest

podman tag httpd myregistryhost:5000/fedora/httpd:v2

SEE ALSO

podman(1), crio(8), crio.conf(5)

HISTORY

July 2017, Originally compiled by Ryan Cole rycole@redhat.com