Add '.' to valid container name pattern

This commit is contained in:
Jonathan Rudenberg
2013-12-17 20:17:06 -05:00
parent 1acefac97e
commit 1940015824
+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 {