Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
6a22713f
Commit
6a22713f
authored
Nov 20, 2009
by
Daniel Lezcano
Committed by
Daniel Lezcano
Nov 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update the man pages
Update the man pages regarding the different modifications. Signed-off-by:
Daniel Lezcano
<
dlezcano@fr.ibm.com
>
parent
ad3ac5e0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
37 deletions
+42
-37
lxc-create.sgml.in
doc/lxc-create.sgml.in
+4
-7
lxc-destroy.sgml.in
doc/lxc-destroy.sgml.in
+5
-17
lxc-start.sgml.in
doc/lxc-start.sgml.in
+6
-7
lxc.sgml.in
doc/lxc.sgml.in
+27
-6
No files found.
doc/lxc-create.sgml.in
View file @
6a22713f
...
@@ -58,11 +58,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
...
@@ -58,11 +58,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<para>
<para>
<command>lxc-create</command> creates a system object where is
<command>lxc-create</command> creates a system object where is
stored the configuration informations and where will be stored
stored the configuration informations and where can be stored
runtime information. The
user information. The identifier <replaceable>name</replaceable>
identifier <replaceable>name</replaceable> is used to
is used to specify the container to be used with the different
specify the container to be used with the different lxc
lxc commands.
commands.
</para>
</para>
<para>
<para>
...
@@ -99,8 +98,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
...
@@ -99,8 +98,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</refsect1>
</refsect1>
&commonoptions;
<refsect1>
<refsect1>
<title>Diagnostic</title>
<title>Diagnostic</title>
...
...
doc/lxc-destroy.sgml.in
View file @
6a22713f
...
@@ -48,8 +48,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
...
@@ -48,8 +48,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsynopsisdiv>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis>
<command>lxc-destroy <replaceable>-n
name</replaceable>
<command>lxc-destroy <replaceable>-n
</command>
name</replaceable>
</command>
</cmdsynopsis>
</cmdsynopsis>
</refsynopsisdiv>
</refsynopsisdiv>
...
@@ -57,15 +57,14 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
...
@@ -57,15 +57,14 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<title>Description</title>
<title>Description</title>
<para>
<para>
<command>lxc-destroy</command> destroys the system container
<command>lxc-destroy</command> destroys the directory where is
object. After the destruction the container is no longer
stored the configuration and all the data contained in this
directory. After the destruction the container is no longer
available and should be recreated.
available and should be recreated.
</para>
</para>
</refsect1>
</refsect1>
&commonoptions;
<refsect1>
<refsect1>
<title>Diagnostic</title>
<title>Diagnostic</title>
...
@@ -83,17 +82,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
...
@@ -83,17 +82,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<term>The container is busy</term>
<listitem>
<para>
The specified container is running an application. At this
point it is not destroyable, and it should be stopped
before trying to destroy it.
</para>
</listitem>
</varlistentry>
</variablelist>
</variablelist>
</refsect1>
</refsect1>
...
...
doc/lxc-start.sgml.in
View file @
6a22713f
...
@@ -47,11 +47,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
...
@@ -47,11 +47,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</refnamediv>
</refnamediv>
<refsynopsisdiv>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis><command>lxc-start <replaceable>-n
<command>lxc-start <replaceable>-n name</replaceable>
name</replaceable> <optional>-f
<optional>command</optional>
config_file</optional> <optional>command</optional></command></cmdsynopsis>
</command>
</cmdsynopsis>
</refsynopsisdiv>
</refsynopsisdiv>
<refsect1>
<refsect1>
...
@@ -63,8 +61,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
...
@@ -63,8 +61,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
according the configuration previously defined with the
according the configuration previously defined with the
lxc-create command or with the configuration file parameter and
lxc-create command or with the configuration file parameter and
execute the command inside the container. If no configuration is
execute the command inside the container. If no configuration is
defined, the default isolation is used. The orphan process
defined, the default isolation is used. The orphan process group
group and daemon are not supported by this command.
and daemon are not supported by this command, use
the <command>lxc-execute</command> command instead.
If no command is specified, <command>lxc-start</command> will
If no command is specified, <command>lxc-start</command> will
use the default
use the default
...
...
doc/lxc.sgml.in
View file @
6a22713f
...
@@ -58,9 +58,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
...
@@ -58,9 +58,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
without warranty, here are the commands to launch a shell inside
without warranty, here are the commands to launch a shell inside
a container with a predefined configuration template, it may
a container with a predefined configuration template, it may
work.
work.
<command>
<command>@BINDIR@/lxc-execute -n foo -f
@BINDIR@/lxc-execute -n foo -f @DOCDIR@/examples/lxc-macvlan.conf /bin/bash
@DOCDIR@/examples/lxc-macvlan.conf /bin/bash</command>
</command>
</para>
</para>
</refsect1>
</refsect1>
...
@@ -121,6 +120,15 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
...
@@ -121,6 +120,15 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-> User namespace
-> User namespace
-> Pid namespace
-> Pid namespace
-> Network namespace
-> Network namespace
* Device Drivers
* Character devices
-> Support multiple instances of devpts
* Network device support
-> MAC-VLAN support
-> Virtual ethernet pair device
* Networking
* Networking options
-> 802.1d Ethernet Bridging
* Security options
* Security options
-> File POSIX Capabilities
-> File POSIX Capabilities
</programlisting>
</programlisting>
...
@@ -133,6 +141,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
...
@@ -133,6 +141,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
With the kernel 2.6.29, <command>lxc</command> is fully
With the kernel 2.6.29, <command>lxc</command> is fully
functional.
functional.
The helper script <command>lxc-checkconfig</command> will give
you information about your kernel configuration.
</para>
</para>
<para>
<para>
...
@@ -164,7 +175,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
...
@@ -164,7 +175,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
A container is an object where the configuration is
A container is an object where the configuration is
persistent. The application will be launched inside this
persistent. The application will be launched inside this
container and it will use the configuration which was previously
container and it will use the configuration which was previously
created.
created
or specified in parameter of the command
.
</para>
</para>
<para>How to run an application in a container ?</para>
<para>How to run an application in a container ?</para>
...
@@ -296,6 +307,13 @@ rootfs
...
@@ -296,6 +307,13 @@ rootfs
</refsect2>
</refsect2>
<refsect2>
<refsect2>
<title>Volatile containers</title>
<para>The container can be directly started with a
configuration file in parameter without creating them before.
</para>
</refsect2>
<refsect2>
<title>Configuration</title>
<title>Configuration</title>
<para>The container is configured through a configuration
<para>The container is configured through a configuration
file, the format of the configuration file is described in
file, the format of the configuration file is described in
...
@@ -325,9 +343,12 @@ rootfs
...
@@ -325,9 +343,12 @@ rootfs
<refsect2>
<refsect2>
<title>Starting / Stopping a container</title>
<title>Starting / Stopping a container</title>
<para>When the container has been created, it is ready to run an
<para>When the container has been created, it is ready to run an
application / system. When the application has to be destroyed
application / system. When the application has to be destroyed
,
the container can be stopped, that will kill all the processes
the container can be stopped, that will kill all the processes
of the container.</para>
of the container. If the container was not created before
starting the application, the container will use the
configuration file passed as parameter to the command, otherwise
it will use the default isolation.</para>
<para>
<para>
Running an application inside a container is not exactly the
Running an application inside a container is not exactly the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment