Add '.' to valid container name pattern

This commit is contained in:
Jonathan Rudenberg 2013-12-16 21:15:51 -05:00
parent 1acefac97e
commit 1940015824
1 changed files with 1 additions and 1 deletions

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 {