Skip to content

Commit 51ef2cc

Browse files
committed
docs: hyphens are not dashes
Signed-off-by: fezzik1620 <[email protected]>
1 parent 5cb33d1 commit 51ef2cc

File tree

1 file changed

+3
-3
lines changed
  • docs/reference/commandline

1 file changed

+3
-3
lines changed

docs/reference/commandline/tag.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ may not contain underscores. If a hostname is present, it may optionally be
2323
followed by a port number in the format `:8080`. If not present, the command
2424
uses Docker's public registry located at `registry-1.docker.io` by default. Name
2525
components may contain lowercase letters, digits and separators. A separator
26-
is defined as a period, one or two underscores, or one or more dashes. A name
26+
is defined as a period, one or two underscores, or one or more hyphens. A name
2727
component may not start or end with a separator.
2828

2929
A tag name must be valid ASCII and may contain lowercase and uppercase letters,
30-
digits, underscores, periods and dashes. A tag name may not start with a
31-
period or a dash and may contain a maximum of 128 characters.
30+
digits, underscores, periods and hyphens. A tag name may not start with a
31+
period or a hyphen and may contain a maximum of 128 characters.
3232

3333
You can group your images together using names and tags, and then upload them
3434
to [*Share images on Docker Hub*](https://docs.docker.com/get-started/part3/).

0 commit comments

Comments
 (0)