Change the docker-tag usage text to be clearer

Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
This commit is contained in:
Boaz Shuster 2016-11-13 10:28:25 +02:00 committed by Tibor Vass
parent f28c79766c
commit c4776804f4
2 changed files with 4 additions and 4 deletions

View File

@ -16,9 +16,9 @@ keywords: "tag, name, image"
# tag
```markdown
Usage: docker tag IMAGE[:TAG] IMAGE[:TAG]
Usage: docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
Tag an image into a repository
Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
Options:
--help Print usage

View File

@ -2,12 +2,12 @@
% Docker Community
% JUNE 2014
# NAME
docker-tag - Tag an image into a repository
docker-tag - Create a tag `TARGET_IMAGE` that refers to `SOURCE_IMAGE`
# SYNOPSIS
**docker tag**
[**--help**]
NAME[:TAG] NAME[:TAG]
SOURCE_NAME[:TAG] TARGET_NAME[:TAG]
# DESCRIPTION
Assigns a new alias to an image in a registry. An alias refers to the