From 51ef2ccff88ac2312a641295add92cfce5de692e Mon Sep 17 00:00:00 2001 From: fezzik1620 Date: Sun, 20 Mar 2022 18:42:18 -0500 Subject: [PATCH] docs: hyphens are not dashes Signed-off-by: fezzik1620 --- docs/reference/commandline/tag.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/commandline/tag.md b/docs/reference/commandline/tag.md index 421560a39d..8fb4c6e233 100644 --- a/docs/reference/commandline/tag.md +++ b/docs/reference/commandline/tag.md @@ -23,12 +23,12 @@ may not contain underscores. If a hostname is present, it may optionally be followed by a port number in the format `:8080`. If not present, the command uses Docker's public registry located at `registry-1.docker.io` by default. Name components may contain lowercase letters, digits and separators. A separator -is defined as a period, one or two underscores, or one or more dashes. A name +is defined as a period, one or two underscores, or one or more hyphens. A name component may not start or end with a separator. A tag name must be valid ASCII and may contain lowercase and uppercase letters, -digits, underscores, periods and dashes. A tag name may not start with a -period or a dash and may contain a maximum of 128 characters. +digits, underscores, periods and hyphens. A tag name may not start with a +period or a hyphen and may contain a maximum of 128 characters. You can group your images together using names and tags, and then upload them to [*Share images on Docker Hub*](https://docs.docker.com/get-started/part3/).