summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-tag.1.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/markdown/podman-tag.1.md')
-rw-r--r--docs/source/markdown/podman-tag.1.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-tag.1.md b/docs/source/markdown/podman-tag.1.md
new file mode 100644
index 000000000..291d95228
--- /dev/null
+++ b/docs/source/markdown/podman-tag.1.md
@@ -0,0 +1,35 @@
+% podman-tag(1)
+
+## 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
+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 *tag*, podman will default to `latest` for both
+the *image* and the *target-name*.
+
+## OPTIONS
+
+**--help**, **-h**
+
+Print usage statement
+
+## EXAMPLES
+
+```
+$ podman tag 0e3bbc2 fedora:latest
+
+$ podman tag httpd myregistryhost:5000/fedora/httpd:v2
+```
+
+
+## SEE ALSO
+podman(1)
+
+## HISTORY
+July 2017, Originally compiled by Ryan Cole <rycole@redhat.com>