From acf2c24f8eec0918ca419db68196c76dc827f197 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 5 Nov 2022 19:47:42 +0100 Subject: container: T4802: support per container shared-memory size configuration Size of /dev/shm within a container can be defined via --shm-size when invoking the container. Add corresponding CLI node. --- interface-definitions/container.xml.in | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'interface-definitions/container.xml.in') diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in index 51171d881..f84c94a40 100644 --- a/interface-definitions/container.xml.in +++ b/interface-definitions/container.xml.in @@ -111,7 +111,7 @@ - Constrain the memory available to a container + Memory (RAM) available to this container u32:0 Unlimited @@ -127,6 +127,24 @@ 512 + + + Shared memory available to this container + + u32:0 + Unlimited + + + u32:1-8192 + Container memory in megabytes (MB) + + + + + Container memory must be in range 0 to 8192 MB + + 64 + Attach user defined network to container -- cgit v1.2.3