Commit a363e326 by Christian Brauner Committed by GitHub

Merge pull request #1846 from tenforward/japanese

Add lxc.hook.start-host and lxc.execute.cmd to Japanese man page
parents c38d860c fcd95ae9
...@@ -337,26 +337,37 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -337,26 +337,37 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<para> <para>
<!-- <!--
Sets the command to use as the init system for the containers. Sets the command to use as the init system for the containers.
This option is ignored when using lxc-execute.
Defaults to: /sbin/init
--> -->
コンテナの init として使うコマンドを設定します。 コンテナの init として使うコマンドを設定します。
このオプションは lxc-execute では無視されます。
デフォルトは /sbin/init です。
</para> </para>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term> <term>
<option>lxc.execute.cmd</option>
</term>
<listitem>
<para>
<!--
Absolute path from container rootfs to the binary to run by default. This
mostly makes sense for lxc-execute.
-->
デフォルトで実行するバイナリのコンテナの root からの絶対パスを指定します。これは <command>lxc-execute</command> のための設定です。
</para>
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term>
<option>lxc.init.cmd</option> <option>lxc.init.cmd</option>
</term> </term>
<listitem> <listitem>
<para> <para>
<!-- <!--
Absolute path from container rootfs to the binary to use as init. Absolute path from container rootfs to the binary to use as init. This
mostly makes sense for lxc-start. Default is /sbin/init.
--> -->
init として使うバイナリの、コンテナの rootfs からの絶対パスを指定します。 init として使うバイナリの、コンテナの root からの絶対パスを指定します。これは <command>lxc-start</command> のための設定です。デフォルトは <command>/sbin/init</command> です。
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -2096,6 +2107,23 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -2096,6 +2107,23 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term> <term>
<option>lxc.hook.start-host</option>
</term>
<listitem>
<para>
<!--
A hook to be run in the host's namespace after the
container has been setup, and immediately before starting
the container init.
-->
コンテナのセットアップが済んだあと、コンテナの init を実行する直前に、ホストの名前空間で実行するためのフックです。
</para>
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term>
<option>lxc.hook.start</option> <option>lxc.hook.start</option>
</term> </term>
<listitem> <listitem>
......
...@@ -255,10 +255,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -255,10 +255,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<title>Init command</title> <title>Init command</title>
<para> <para>
Sets the command to use as the init system for the containers. Sets the command to use as the init system for the containers.
This option is ignored when using lxc-execute.
Defaults to: /sbin/init
</para> </para>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
...@@ -268,7 +264,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -268,7 +264,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<listitem> <listitem>
<para> <para>
Absolute path from container rootfs to the binary to run by default. This Absolute path from container rootfs to the binary to run by default. This
mostly makes sense for lxc-execute. mostly makes sense for <command>lxc-execute</command>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -280,7 +276,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -280,7 +276,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
</term> </term>
<listitem> <listitem>
<para> <para>
Absolute path from container rootfs to the binary to use as init. Absolute path from container rootfs to the binary to use as init. This
mostly makes sense for <command>lxc-start</command>. Default is <command>/sbin/init</command>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment