mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Changed the term rename to alias etc.
Docker-DCO-1.1-Signed-off-by: William Henry <whenry@redhat.com> (github: ipbabble) Changes to be committed: modified: contrib/man/md/docker-tag.1.md
This commit is contained in:
parent
e471a87f19
commit
2858180a9a
1 changed files with 4 additions and 4 deletions
|
@ -9,12 +9,12 @@ docker-tag - Tag an image in the repository
|
||||||
IMAGE [REGISTRYHOST/][USERNAME/]NAME[:TAG]
|
IMAGE [REGISTRYHOST/][USERNAME/]NAME[:TAG]
|
||||||
|
|
||||||
# DESCRIPTION
|
# DESCRIPTION
|
||||||
This will rename an image in the repository. This refers to the
|
This will give a new alias to an image in the repository. This refers to the
|
||||||
entire image name including the optional TAG after the ':'.
|
entire image name including the optional TAG after the ':'.
|
||||||
|
|
||||||
# "OPTIONS"
|
# "OPTIONS"
|
||||||
**-f**, **--force**=*true*|*false*
|
**-f**, **--force**=*true*|*false*
|
||||||
When set to true, force the tag name. The default is *false*.
|
When set to true, force the alias. The default is *false*.
|
||||||
|
|
||||||
**REGISTRYHOST**
|
**REGISTRYHOST**
|
||||||
The hostname of the registry if required. This may also include the port
|
The hostname of the registry if required. This may also include the port
|
||||||
|
@ -33,9 +33,9 @@ Note that here TAG is a part of the overall name or "tag".
|
||||||
|
|
||||||
# EXAMPLES
|
# EXAMPLES
|
||||||
|
|
||||||
## Tagging an image
|
## Giving an image a new alias
|
||||||
|
|
||||||
Here is an example of renaming an image (e.g. 0e5574283393) as "httpd" and
|
Here is an example of aliasing an image (e.g. 0e5574283393) as "httpd" and
|
||||||
tagging it into the "fedora" repository with "version1.0":
|
tagging it into the "fedora" repository with "version1.0":
|
||||||
|
|
||||||
docker tag 0e5574283393 fedora/httpd:version1.0
|
docker tag 0e5574283393 fedora/httpd:version1.0
|
||||||
|
|
Loading…
Add table
Reference in a new issue