Browse code

Add '.' to valid container name pattern

Jonathan Rudenberg authored on 2013/12/17 11:15:51
Showing 1 changed files
... ...
@@ -32,7 +32,7 @@ const MaxImageDepth = 127
32 32
 
33 33
 var (
34 34
 	defaultDns         = []string{"8.8.8.8", "8.8.4.4"}
35
-	validContainerName = regexp.MustCompile(`^/?[a-zA-Z0-9_-]+$`)
35
+	validContainerName = regexp.MustCompile(`^/?[a-zA-Z0-9_.-]+$`)
36 36
 )
37 37
 
38 38
 type Capabilities struct {