Add '.' to valid container name pattern
Upstream-commit: 1940015824f5dabf1e8ffbd0c2b7c09f11f8cdf0 Component: engine
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user