mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add '.' to valid container name pattern
This commit is contained in:
parent
1acefac97e
commit
1940015824
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue