mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-08 02:31:33 +00:00
doc: Add lxc.cgroup.relative to lxc.container.conf(5)
Only English and Japanese man pages. Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
This commit is contained in:
parent
4094778770
commit
c3b7fd80d9
@ -1953,6 +1953,25 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term>
|
||||||
|
<option>lxc.cgroup.relative</option>
|
||||||
|
</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<!--
|
||||||
|
Set this to 1 to instruct LXC to never escape to the
|
||||||
|
root cgroup. This makes it easy for users to adhere to
|
||||||
|
restrictions enforced by cgroup2 and
|
||||||
|
systemd. Specifically, this makes it possible to run LXC
|
||||||
|
containers as systemd services.
|
||||||
|
-->
|
||||||
|
LXC に root cgroup へのエスケープを行わないように指示するには、この値を 1 に設定してください。
|
||||||
|
これにより、ユーザは cgroup2 と systemd が強制する制限を遵守するのが容易になります。
|
||||||
|
具体的には、これにより LXC コンテナを systemd のサービスとして実行できます。
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</refsect2>
|
</refsect2>
|
||||||
|
|
||||||
|
@ -1470,6 +1470,20 @@ dev/null proc/kcore none bind,relative 0 0
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term>
|
||||||
|
<option>lxc.cgroup.relative</option>
|
||||||
|
</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Set this to 1 to instruct LXC to never escape to the
|
||||||
|
root cgroup. This makes it easy for users to adhere to
|
||||||
|
restrictions enforced by cgroup2 and
|
||||||
|
systemd. Specifically, this makes it possible to run LXC
|
||||||
|
containers as systemd services.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</refsect2>
|
</refsect2>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user