Commit 1ab99317 by Sungbae Yoo Committed by Stéphane Graber

doc: improve lxc-unshare(1)

Explain that the pipe symbol needs to be escaped for -s. Signed-off-by: 's avatarSungbae Yoo <sungbae.yoo@samsung.com>
parent 112981f0
...@@ -106,13 +106,17 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -106,13 +106,17 @@ 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>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
...@@ -93,7 +93,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -93,7 +93,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<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>.)
</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