From 1940015824f5dabf1e8ffbd0c2b7c09f11f8cdf0 Mon Sep 17 00:00:00 2001 From: Jonathan Rudenberg Date: Mon, 16 Dec 2013 21:15:51 -0500 Subject: [PATCH] Add '.' to valid container name pattern --- runtime.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime.go b/runtime.go index 3268892d56..9adf40c5ee 100644 --- a/runtime.go +++ b/runtime.go @@ -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 {