From 8b7a1399fb2b4327798ec748f96a457420a912c3 Mon Sep 17 00:00:00 2001 From: sarthurdev <965089+sarthurdev@users.noreply.github.com> Date: Tue, 22 Nov 2022 12:23:24 +0100 Subject: container: T4834: Limit network names to 11 characters (15 char max including "cni-" prefix) * Error: unable to start container "": plugin type="bridge" failed (add): cni plugin bridge failed: failed to create bridge "cni-thisismorethan15chars": could not add "cni-thisismorethan15chars": numerical result out of range --- interface-definitions/container.xml.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in index f84c94a40..d50039665 100644 --- a/interface-definitions/container.xml.in +++ b/interface-definitions/container.xml.in @@ -272,6 +272,10 @@ Network name + + [-_a-zA-Z0-9]{1,11} + + Network name cannot be longer than 11 characters -- cgit v1.2.3