mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-24 09:17:53 +00:00
Merge pull request #2793 from mheon/alter_name_regex
Alter container/pod/volume name regexp to match Docker
This commit is contained in:
commit
dd2bf91540
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue