Commit ac11ab33 by KATOH Yasufumi Committed by Stéphane Graber

doc: Update the description of the veth in the Japanese lxc.container.conf(5)

Update for the commit 38005c54Signed-off-by: 's avatarKATOH Yasufumi <karma@jazz.email.ne.jp> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent e1daebd9
...@@ -366,34 +366,34 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -366,34 +366,34 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<option>empty:</option> ループバックインターフェースだけを作成します。 <option>empty:</option> ループバックインターフェースだけを作成します。
</para> </para>
<para> <para>
<!-- <!--
<option>veth:</option> a peer network device is created <option>veth:</option> a virtual ethernet pair
with one side assigned to the container and the other device is created with one side assigned to the container
side is attached to a bridge specified by and the other side attached to a bridge specified by
the <option>lxc.network.link</option>. If the bridge is the <option>lxc.network.link</option> option.
not specified, then the veth pair device will be created If the bridge is not specified, then the veth pair device
but not attached to any bridge. Otherwise, the bridge will be created but not attached to any bridge.
has to be setup before on the Otherwise, the bridge has to be created on the system
system, <command>lxc</command> won't handle any before starting the container.
configuration outside of the container. By <command>lxc</command> won't handle any
default <command>lxc</command> choose a name for the configuration outside of the container.
network device belonging to the outside of the By default, <command>lxc</command> chooses a name for the
container, this name is handled network device belonging to the outside of the
by <command>lxc</command>, but if you wish to handle container, but if you wish to handle
this name yourself, you can tell <command>lxc</command> this name yourselves, you can tell <command>lxc</command>
to set a specific name with to set a specific name with
the <option>lxc.network.veth.pair</option> option (except for the <option>lxc.network.veth.pair</option> option (except for
unprivileged containers where this option is ignored for security unprivileged containers where this option is ignored for security
reasons). reasons).
--> -->
<option>veth:</option> 一方がコンテナに、もう一方が <option>lxc.network.link</option> で指定されるブリッジにアタッチされる、ピアネットワークデバイスを作成します。 <option>veth:</option > 一方がコンテナに、もう一方が <option>lxc.network.link</option> オプションで指定されたブリッジに接続されるペアの仮想イーサネットデバイスを作成します。
もし、ブリッジが指定されていない場合、veth ペアデバイスは作成されますが、ブリッジにはアタッチされません。 もし、ブリッジが指定されていない場合、veth ペアデバイスは作成されますが、ブリッジには接続されません。
ブリッジはシステムで事前に設定する必要があります。 ブリッジはコンテナが開始する前にシステムで事前に設定しておく必要があります。
さもなければ、<command>lxc</command> はコンテナ外のいかなる設定も扱うことはできないでしょう <command>lxc</command> はコンテナ外の設定を扱うことはありません
デフォルトでは、<command>lxc</command> はコンテナの外部に属するネットワークデバイスに対する名前を決定し、<command>lxc</command> はこの名前を使います。 デフォルトでは、<command>lxc</command> がコンテナの外部に属するネットワークデバイスに対する名前を決定します。
しかし、もしこの名前を自分で指定したい場合、<option>lxc.network.veth.pair</option> オプションを使って名前を設定し、lxc に対して指定をすることができます (非特権コンテナの場合をのぞきます。セキュリティ上の理由からこのオプションは無視されます)。 しかし、もしこの名前を自分で指定したい場合、<option>lxc.network.veth.pair</option> オプションを使って名前を設定し、lxc に対して指定をすることができます (非特権コンテナの場合をのぞきます。セキュリティ上の理由からこのオプションは無視されます)。
</para> </para>
<para> <para>
<!-- <!--
......
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