Merge pull request #3479 from fezzik1620/master

docs: hyphens are not dashes
This commit is contained in:
Sebastiaan van Stijn 2022-03-21 13:47:11 +01:00 committed by GitHub
commit 0e3c9b282e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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 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 uses Docker's public registry located at `registry-1.docker.io` by default. Name
components may contain lowercase letters, digits and separators. A separator 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. component may not start or end with a separator.
A tag name must be valid ASCII and may contain lowercase and uppercase letters, 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 digits, underscores, periods and hyphens. A tag name may not start with a
period or a dash and may contain a maximum of 128 characters. 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 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/). to [*Share images on Docker Hub*](https://docs.docker.com/get-started/part3/).