From 4629512d895e5754b93556e5093f5f0b82e5bda5 Mon Sep 17 00:00:00 2001 From: pankit thapar Date: Tue, 22 Mar 2016 11:40:55 -0400 Subject: [PATCH] Allow + in container ID Signed-off-by: pankit thapar --- libcontainer/factory_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcontainer/factory_linux.go b/libcontainer/factory_linux.go index 3a0ad81e..26035c3e 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 )