Skip to content

Commit

Permalink
Add '.' to valid container name pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
titanous committed Dec 18, 2013
1 parent 1acefac commit 1940015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1940015

Please sign in to comment.