Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a typo and reference the RFC for defining standard DNS labels #226

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion serialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ This specification uses the following terms:
A collection of tags grouped under a common prefix (the name component before <code>:</code>).
For example, in an image tagged with the name <code>my-app:3.1.4</code>, <code>my-app</code> is the <i>Repository</i> component of the name.
A repository name is made up of slash-separated name components, optionally prefixed by a DNS hostname.
The hostname must follow comply with standard DNS rules, but may not contain <code>_</code> characters.
The hostname must comply with standard DNS rules that apply to IDNA labels as defined in <a href="https://tools.ietf.org/html/rfc5890#section-2.3">RFC 5890</a>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still think we want to call out A-label, U-label, or NR-LDH label to avoid forbidding all-ASCII, non-A label, repository names.

If a hostname is present, it may optionally be followed by a port number in the format <code>:8080</code>.
Name components may contain lowercase characters, digits, and separators.
A separator is defined as a period, one or two underscores, or one or more dashes.
Expand Down