mirror of
https://github.com/containers/podman.git
synced 2025-05-22 09:36:57 +08:00
Merge pull request #2793 from mheon/alter_name_regex
Alter container/pod/volume name regexp to match Docker
This commit is contained in:
@ -18,7 +18,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
nameRegex = regexp.MustCompile("[a-zA-Z0-9_-]+")
|
||||
nameRegex = regexp.MustCompile("^[a-zA-Z0-9][a-zA-Z0-9_.-]*$")
|
||||
)
|
||||
|
||||
// Runtime Creation Options
|
||||
|
Reference in New Issue
Block a user