From 3660e7a6304ecdf08acd4784206b10b7468fd3ff Mon Sep 17 00:00:00 2001 From: Aaron Lehmann Date: Tue, 5 Jul 2016 09:59:45 -0700 Subject: [PATCH] image spec: Correct set of acceptable characters in tags The image spec did not match the regexp that validates tags. It neglected to mention that period and dash characters are allowed in tags, as long as they are not the first character. It also did not mention the length limit for tags. Signed-off-by: Aaron Lehmann Upstream-commit: 2f19e910bdeee94a2962ce8457325e92aa21ce0e Component: engine --- components/engine/image/spec/v1.1.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/engine/image/spec/v1.1.md b/components/engine/image/spec/v1.1.md index 181f1fb605..3a32b6bd36 100644 --- a/components/engine/image/spec/v1.1.md +++ b/components/engine/image/spec/v1.1.md @@ -87,7 +87,8 @@ This specification uses the following terms:
A tag serves to map a descriptive, user-given name to any single image ID. Tag values are limited to the set of characters - [a-zA-Z_0-9]. + [a-zA-Z0-9_.-], except they may not start with a . + or - character. Tags are limited to 127 characters.
Repository