Add '.' to valid container name pattern

Upstream-commit: 1940015824f5dabf1e8ffbd0c2b7c09f11f8cdf0
Component: engine
This commit is contained in:
Jonathan Rudenberg
2013-12-17 20:17:06 -05:00
parent 7df1c5a0f0
commit 3c037baf07
+1 -1
View File
@@ -32,7 +32,7 @@ const MaxImageDepth = 127
var (
defaultDns = []string{"8.8.8.8", "8.8.4.4"}
validContainerName = regexp.MustCompile(`^/?[a-zA-Z0-9_-]+$`)
validContainerName = regexp.MustCompile(`^/?[a-zA-Z0-9_.-]+$`)
)
type Capabilities struct {