diff --git a/libcontainer/factory_linux.go b/libcontainer/factory_linux.go index 14e4f33a8ce..3a0ad81ee7b 100644 --- a/libcontainer/factory_linux.go +++ b/libcontainer/factory_linux.go @@ -26,7 +26,7 @@ const ( ) var ( - idRegex = regexp.MustCompile(`^[\w_-]+$`) + idRegex = regexp.MustCompile(`^[\w-\.]+$`) maxIdLen = 1024 )