mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 16:18:16 +00:00
doc: add lxc.limit to lxc.container.conf
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
c6d09e15c5
commit
93f9e90d72
@ -1183,6 +1183,40 @@ proc proc proc nodev,noexec,nosuid 0 0
|
|||||||
</variablelist>
|
</variablelist>
|
||||||
</refsect2>
|
</refsect2>
|
||||||
|
|
||||||
|
<refsect2>
|
||||||
|
<title>Resource limits</title>
|
||||||
|
<para>
|
||||||
|
The soft and hard resource limits for the container can be changed.
|
||||||
|
Unprivileged containers can only lower them. Resources which are not
|
||||||
|
explicitly specified will be inherited.
|
||||||
|
</para>
|
||||||
|
<variablelist>
|
||||||
|
<varlistentry>
|
||||||
|
<term>
|
||||||
|
<option>lxc.limit.[limit name]</option>
|
||||||
|
</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Specify the resource limit to be set. A limit is specified as two
|
||||||
|
colon separated values which are either numeric or the word
|
||||||
|
'unlimited'. A single value can be used as a shortcut to set both
|
||||||
|
soft and hard limit to the same value. The permitted names the
|
||||||
|
"RLIMIT_" resource names in lowercase without the "RLIMIT_"
|
||||||
|
prefix, eg. RLIMIT_NOFILE should be specified as "nofile". See
|
||||||
|
<citerefentry>
|
||||||
|
<refentrytitle><command>setrlimit</command></refentrytitle>
|
||||||
|
<manvolnum>2</manvolnum>
|
||||||
|
</citerefentry>.
|
||||||
|
If used with no value, lxc will clear the resource limit
|
||||||
|
specified up to this point. A resource with no explicitly
|
||||||
|
configured limitation will be inherited from the process starting
|
||||||
|
up the container.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
</refsect2>
|
||||||
|
|
||||||
<refsect2>
|
<refsect2>
|
||||||
<title>Apparmor profile</title>
|
<title>Apparmor profile</title>
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
Reference in New Issue
Block a user