Commit 130dae08 by Christian Brauner

Merge pull request #866 from tenforward/japanese_man

Update Japanese lxc-attach(1) and lxc-copy(1)
parents dfc76168 35247006
...@@ -172,10 +172,13 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -172,10 +172,13 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<replaceable>CGROUP|LSM</replaceable>. Allowed values are <replaceable>CGROUP|LSM</replaceable>. Allowed values are
<replaceable>CGROUP</replaceable>, <replaceable>CAP</replaceable> and <replaceable>CGROUP</replaceable>, <replaceable>CAP</replaceable> and
<replaceable>LSM</replaceable> representing cgroup, capabilities and <replaceable>LSM</replaceable> representing cgroup, capabilities and
restriction privileges respectively. restriction privileges respectively. (The pipe symbol needs to be escaped,
e.g. <replaceable>CGROUP\|LSM</replaceable> or quoted, e.g.
<replaceable>"CGROUP|LSM"</replaceable>.)
--> -->
全ての特権の取得したくない場合は、パイプで連結したリストとして、例えば <replaceable>CGROUP|LSM</replaceable> のように、特権を指定することが可能です。 全ての特権の取得したくない場合は、パイプで連結したリストとして、例えば <replaceable>CGROUP|LSM</replaceable> のように、特権を指定することが可能です。
指定できる値は、それぞれ cgroup、ケーパビリティ、特権の制限を表す <replaceable>CGROUP</replaceable>、<replaceable>CAP</replaceable>、<replaceable>LSM</replaceable> です。 指定できる値は、それぞれ cgroup、ケーパビリティ、特権の制限を表す <replaceable>CGROUP</replaceable>、<replaceable>CAP</replaceable>、<replaceable>LSM</replaceable> です。
(パイプ記号を <replaceable>CGROUP\|LSM</replaceable> のようにエスケープするか、<replaceable>"CGROUP|LSM"</replaceable> のように引用符号を付ける必要があります。)
</para> </para>
<para> <para>
<!-- <!--
...@@ -211,13 +214,16 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -211,13 +214,16 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<replaceable>NETWORK</replaceable>. This allows one to change <replaceable>NETWORK</replaceable>. This allows one to change
the context of the process to e.g. the network namespace of the the context of the process to e.g. the network namespace of the
container while retaining the other namespaces as those of the container while retaining the other namespaces as those of the
host. host. (The pipe symbol needs to be escaped, e.g.
<replaceable>MOUNT\|PID</replaceable> or quoted, e.g.
<replaceable>"MOUNT|PID"</replaceable>.)
--> -->
アタッチする名前空間をパイプで連結したリストで指定します。 アタッチする名前空間をパイプで連結したリストで指定します。
例えば <replaceable>NETWORK|IPC</replaceable> のようにです。 例えば <replaceable>NETWORK|IPC</replaceable> のようにです。
ここで使用可能な値は <replaceable>MOUNT</replaceable>, <replaceable>PID</replaceable>, <replaceable>UTSNAME</replaceable>, <replaceable>IPC</replaceable>, <replaceable>USER </replaceable>, <replaceable>NETWORK</replaceable> です。 ここで使用可能な値は <replaceable>MOUNT</replaceable>, <replaceable>PID</replaceable>, <replaceable>UTSNAME</replaceable>, <replaceable>IPC</replaceable>, <replaceable>USER </replaceable>, <replaceable>NETWORK</replaceable> です。
これにより指定した名前空間にプロセスのコンテキストを変更できます。 これにより指定した名前空間にプロセスのコンテキストを変更できます。
例えばコンテナのネットワーク名前空間に変更する一方で、他の名前空間はホストの名前空間のままにするというような事が可能です。 例えばコンテナのネットワーク名前空間に変更する一方で、他の名前空間はホストの名前空間のままにするというような事が可能です。
(パイプ記号を <replaceable>MOUNT\|PID</replaceable> のようにエスケープするか、<replaceable>"MOUNT|PID"</replaceable> のように引用符号を付ける必要があります。)
</para> </para>
<para> <para>
<!-- <!--
......
...@@ -64,6 +64,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -64,6 +64,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<arg choice="opt">-K, --keepdata</arg> <arg choice="opt">-K, --keepdata</arg>
<arg choice="opt">-M, --keepmac</arg> <arg choice="opt">-M, --keepmac</arg>
<arg choice="opt">-L, --fssize <replaceable>size [unit]</replaceable></arg> <arg choice="opt">-L, --fssize <replaceable>size [unit]</replaceable></arg>
<arg choice="opt">-- hook arguments</arg>
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-copy</command> <command>lxc-copy</command>
...@@ -77,6 +78,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -77,6 +78,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<arg choice="opt">-K, --keepdata</arg> <arg choice="opt">-K, --keepdata</arg>
<arg choice="opt">-M, --keepmac</arg> <arg choice="opt">-M, --keepmac</arg>
<arg choice="opt">-L, --fssize <replaceable>size [unit]</replaceable></arg> <arg choice="opt">-L, --fssize <replaceable>size [unit]</replaceable></arg>
<arg choice="opt">-- hook arguments</arg>
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-copy</command> <command>lxc-copy</command>
...@@ -316,6 +318,32 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -316,6 +318,32 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
</refsect1> </refsect1>
<refsect1>
<title><!-- Copy hook -->コピー時のフック</title>
<para>
<!--
If the container being copied has one or more
<filename>lxc.hook.clone</filename> specified, then the specified hooks
will be called for the new container. The first 3 arguments passed to the
clone hook will be the container name, a section ('lxc'), and the hook
type ('clone'). Extra arguments passed to <command>lxc-copy</command> will
be passed to the hook program starting at argument 4. The
<filename>LXC_ROOTFS_MOUNT</filename> environment variable gives
the path under which the container's root filesystem is mounted. The
configuration file pathname is stored in
<filename>LXC_CONFIG_FILE</filename>, the new container name in
<filename>LXC_NAME</filename>, the old container name in
<filename>LXC_SRC_NAME</filename>, and the path or device on which the
rootfs is located is in <filename>LXC_ROOTFS_PATH</filename>.
-->
コピーされるコンテナに 1 つ以上の <filename>lxc.hook.clone</filename> の指定が存在する場合、指定されたフックは新しいコンテナに対して呼ばれます。
クローンフックに渡される最初の 3 つの引数は、コンテナ名、セクション ('lxc')、フックタイプ ('clone') となります。
<command>lxc-copy</command> に渡される追加の引数は、フックプログラムに渡される引数の 4 番目以降となります。
<filename>LXC_ROOTFS_MOUNT</filename> 環境変数には、コンテナの root ファイルシステムがマウントされるパスが与えられます。
設定ファイルのパス名は <filename>LXC_CONFIG_FILE</filename> に、新しいコンテナ名は <filename>LXC_NAME</filename>、古いコンテナ名は <filename>LXC_SRC_NAME</filename> に、rootfs のあるパスまたはデバイスは <filename>LXC_ROOTFS_PATH</filename> に保存されます。
</para>
</refsect1>
&commonoptions; &commonoptions;
&seealso; &seealso;
......
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