]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Describe --share-net in the lxc-start manual
authorMarek Majkowski <marek@cloudflare.com>
Tue, 12 Nov 2013 13:13:33 +0000 (05:13 -0800)
committerMarek Majkowski <marek@cloudflare.com>
Tue, 12 Nov 2013 13:13:33 +0000 (05:13 -0800)
doc/lxc-start.sgml.in

index 09f9171647984967f26f8df7b8da93ebddaaeecb..756ea9c49cf94e1e260387a7612df1b07e02e2d4 100644 (file)
@@ -57,6 +57,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
       <arg choice="opt">-p <replaceable>pid_file</replaceable></arg>
       <arg choice="opt">-s KEY=VAL</arg>
       <arg choice="opt">-C</arg>
+      <arg choice="opt">--share-net <replaceable>name|pid</replaceable></arg>
       <arg choice="opt">command</arg>
     </cmdsynopsis>
   </refsynopsisdiv>
@@ -186,6 +187,26 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
        </listitem>
       </varlistentry>
 
+      <varlistentry>
+       <term>
+         <option>--share-net <replaceable>name|pid</replaceable></option>
+       </term>
+       <listitem>
+         <para>
+            Inherit a network namespace from
+           a <replaceable>name</replaceable> container or
+           a <replaceable>pid</replaceable>. The network namespace
+           will continue to be managed by the original owner. The
+           network configuration of the starting container is ignored
+           and the up/down scripts won't be executed.
+         </para>
+       </listitem>
+      </varlistentry>
+
+         </para>
+       </listitem>
+      </varlistentry>
+
     </variablelist>
 
   </refsect1>