]> git.proxmox.com Git - mirror_lxc.git/commitdiff
doc: Add lxc.cgroup.relative to lxc.container.conf(5)
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Wed, 27 Mar 2019 06:53:17 +0000 (15:53 +0900)
committerKATOH Yasufumi <karma@jazz.email.ne.jp>
Wed, 27 Mar 2019 06:53:17 +0000 (15:53 +0900)
Only English and Japanese man pages.

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
doc/ja/lxc.container.conf.sgml.in
doc/lxc.container.conf.sgml.in

index 65ebb44f4f0af2ea28331a1ab7398d946d6acc81..4a5905e4ee1ff1b8ff5af8131da243c13831c2fd 100644 (file)
@@ -1953,6 +1953,25 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
             </para>
           </listitem>
         </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>
     </refsect2>
 
index 00b51a94aa9c92d502d2840c711b4a7472465949..ba88587d498c01a5742a153fddb7dd677e8a4aac 100644 (file)
@@ -1470,6 +1470,20 @@ dev/null proc/kcore none bind,relative 0 0
             </para>
           </listitem>
         </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>
     </refsect2>