Reference name rather than repository in reference grammar

Signed-off-by: Richard Scothern <richard.scothern@docker.com>
master
Richard Scothern 2016-02-11 10:26:05 -08:00
parent ab9b433fca
commit 846328977e
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
// //
// Grammar // Grammar
// //
// reference := repository [ ":" tag ] [ "@" digest ] // reference := name [ ":" tag ] [ "@" digest ]
// name := [hostname '/'] component ['/' component]* // name := [hostname '/'] component ['/' component]*
// hostname := hostcomponent ['.' hostcomponent]* [':' port-number] // hostname := hostcomponent ['.' hostcomponent]* [':' port-number]
// hostcomponent := /([a-z0-9]|[a-z0-9][a-z0-9-]*[a-z0-9])/ // hostcomponent := /([a-z0-9]|[a-z0-9][a-z0-9-]*[a-z0-9])/