mirror of
https://github.com/containers/podman.git
synced 2025-05-23 10:07:33 +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 (
|
var (
|
||||||
nameRegex = regexp.MustCompile("[a-zA-Z0-9_-]+")
|
nameRegex = regexp.MustCompile("^[a-zA-Z0-9][a-zA-Z0-9_.-]*$")
|
||||||
)
|
)
|
||||||
|
|
||||||
// Runtime Creation Options
|
// Runtime Creation Options
|
||||||
|
Reference in New Issue
Block a user