github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/docs/source/markdown/podman-tag.1.md (about)

     1  % podman-tag(1)
     2  
     3  ## NAME
     4  podman\-tag - Add an additional name to a local image
     5  
     6  ## SYNOPSIS
     7  **podman tag** *image*[:*tag*] [*target-name*[:*tag*]...] [*options*]
     8  
     9  **podman image tag** *image*[:*tag*] [*target-name*[:*tag*]...] [*options*]
    10  
    11  ## DESCRIPTION
    12  Assigns a new image name to an existing image.  A full name refers to the entire
    13  image name, including the optional *tag* after the `:`.  If there is no *tag*
    14  provided, then podman will default to `latest` for both the *image* and the
    15  *target-name*.
    16  
    17  ## OPTIONS
    18  
    19  #### **--help**, **-h**
    20  
    21  Print usage statement
    22  
    23  ## EXAMPLES
    24  
    25  ```
    26  $ podman tag 0e3bbc2 fedora:latest
    27  
    28  $ podman tag httpd myregistryhost:5000/fedora/httpd:v2
    29  ```
    30  
    31  
    32  ## SEE ALSO
    33  **[podman(1)](podman.1.md)**
    34  
    35  ## HISTORY
    36  December 2019, Update description to refer to 'name' instead of 'alias' by Sascha Grunert <sgrunert@suse.com>
    37  July 2017, Originally compiled by Ryan Cole <rycole@redhat.com>