<cmdsynopsis>
<command>lxc-ls</command>
<arg choice="opt">--active</arg>
- <arg choice="opt">ls option</arg>
+ <arg choice="opt"><replaceable>ls options</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<varlistentry>
<term>
- <option><optional>ls options</optional></option>
+ <option><optional><replaceable>ls options</replaceable></optional></option>
</term>
<listitem>
<para>
<para>
Signal the end of options and disables further option
processing. Any arguments after the -- are treated as
- arguments.
+ arguments to <replaceable>command</replaceable>.
</para>
<para>
- This option is useful when you want to execute, with the
- command <command>lxc-execute</command>, a command line
- with its own options.
+ This option is useful when you want specify options
+ to <replaceable>command</replaceable> and don't want
+ <command>lxc-execute</command> to interpret them.
</para>
</listitem>
</varlistentry>
<arg choice="opt">--name <replaceable>name</replaceable></arg>
<arg choice="opt">--lxc</arg>
<arg choice="opt">--host</arg>
- <arg choice="opt">-- ps option</arg>
+ <arg choice="opt">-- <replaceable>ps options</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
the container associated to processes.
</para>
<para>
- The additionnal specified ps options must not
+ The additional specified <replaceable>ps options</replaceable> must not
remove the default ps header and the pid information,
to be able to have the <command>lxc-ps</command> to find
the container associated to processes.
<varlistentry>
<term>
- <option><optional>ps options</optional></option>
+ <option><optional><replaceable>ps options</replaceable></optional></option>
</term>
<listitem>
<para>
<refsynopsisdiv>
<cmdsynopsis>
- <command>lxc-clone</command>
+ <command>lxc-unshare</command>
<arg choice="req">-s <replaceable>namespaces</replaceable></arg>
<arg choice="req">-u <replaceable>user</replaceable></arg>
<arg choice="req">command</arg>
<para>
To spawn a new shell with its own UTS (hostname) namespace,
<programlisting>
- lxc-clone -s UTSNAME /bin/bash
+ lxc-unshare -s UTSNAME /bin/bash
</programlisting>
If the hostname is changed in that shell, the change will not be
reflected on the host.
<para>
To spawn a shell in a new network, pid, and mount namespace,
<programlisting>
- lxc-clone -s "NETWORK|PID|MOUNT" /bin/bash
+ lxc-unshare -s "NETWORK|PID|MOUNT" /bin/bash
</programlisting>
The resulting shell will have pid 1 and will see no network interfaces.
After re-mounting /proc in that shell,