]>
Commit | Line | Data |
---|---|---|
d823d5b9 | 1 | <!-- |
2 | ||
3 | lxc: linux Container library | |
4 | ||
5 | (C) Copyright IBM Corp. 2007, 2008 | |
6 | ||
7 | Authors: | |
8 | Daniel Lezcano <dlezcano at fr.ibm.com> | |
9 | ||
10 | This library is free software; you can redistribute it and/or | |
11 | modify it under the terms of the GNU Lesser General Public | |
12 | License as published by the Free Software Foundation; either | |
13 | version 2.1 of the License, or (at your option) any later version. | |
14 | ||
15 | This library is distributed in the hope that it will be useful, | |
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
18 | Lesser General Public License for more details. | |
19 | ||
20 | You should have received a copy of the GNU Lesser General Public | |
21 | License along with this library; if not, write to the Free Software | |
22 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
23 | ||
24 | --> | |
25 | ||
99e4008c MN |
26 | <!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [ |
27 | ||
10fba81b | 28 | <!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml"> |
99e4008c MN |
29 | <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml"> |
30 | ]> | |
d823d5b9 | 31 | |
32 | <refentry> | |
33 | ||
34 | <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo> | |
35 | ||
36 | <refmeta> | |
37 | <refentrytitle>lxc-start</refentrytitle> | |
38 | <manvolnum>1</manvolnum> | |
39 | </refmeta> | |
40 | ||
41 | <refnamediv> | |
42 | <refname>lxc-start</refname> | |
43 | ||
44 | <refpurpose> | |
45 | run an application inside a container. | |
46 | </refpurpose> | |
47 | </refnamediv> | |
48 | ||
49 | <refsynopsisdiv> | |
50 | <cmdsynopsis> | |
51 | <command>lxc-start <replaceable>-n name</replaceable> | |
52 | <optional>command</optional> | |
53 | </command> | |
54 | </cmdsynopsis> | |
55 | </refsynopsisdiv> | |
56 | ||
57 | <refsect1> | |
58 | <title>Description</title> | |
59 | ||
60 | <para> | |
61 | <command>lxc-start</command> runs the specified command inside | |
62 | the container specified by name. It will setup the container | |
63 | according with the configuration defined previously with the | |
64 | lxc-create command and execute the command inside the | |
65 | container. The orphan process group and daemon are not supported | |
66 | by this command. | |
67 | ||
68 | If no command is specified, <command>lxc-start</command> will | |
69 | use the default | |
70 | <command>"/sbin/init"</command> command to run a system | |
71 | container. | |
72 | ||
73 | </para> | |
74 | ||
75 | </refsect1> | |
76 | ||
10fba81b | 77 | &commonoptions; |
d823d5b9 | 78 | |
79 | <refsect1> | |
80 | <title>Diagnostic</title> | |
81 | ||
82 | <variablelist> | |
83 | ||
84 | <varlistentry> | |
85 | <term>The container is busy</term> | |
86 | <listitem> | |
87 | <para> | |
88 | The specified container is already running an | |
89 | application. You should stop it before reuse this | |
90 | container or create a new one. | |
91 | </para> | |
92 | </listitem> | |
93 | </varlistentry> | |
94 | ||
95 | <varlistentry> | |
96 | <term>The container was not found</term> | |
97 | <listitem> | |
98 | <para> | |
99 | The specified container was not created before with | |
100 | the <command>lxc-create</command> | |
101 | </para> | |
102 | </listitem> | |
103 | </varlistentry> | |
104 | ||
105 | ||
106 | </variablelist> | |
107 | ||
108 | </refsect1> | |
109 | ||
99e4008c | 110 | &seealso; |
d823d5b9 | 111 | |
112 | <refsect1> | |
113 | <title>Author</title> | |
114 | <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para> | |
115 | </refsect1> | |
116 | ||
117 | </refentry> | |
118 | ||
119 | <!-- Keep this comment at the end of the file | |
120 | Local variables: | |
121 | mode: sgml | |
122 | sgml-omittag:t | |
123 | sgml-shorttag:t | |
124 | sgml-minimize-attributes:nil | |
125 | sgml-always-quote-attributes:t | |
126 | sgml-indent-step:2 | |
127 | sgml-indent-data:t | |
128 | sgml-parent-document:nil | |
129 | sgml-default-dtd-file:nil | |
130 | sgml-exposed-tags:nil | |
131 | sgml-local-catalogs:nil | |
132 | sgml-local-ecat-files:nil | |
133 | End: | |
134 | --> |