3
lxc: linux Container library
5
(C) Copyright IBM Corp. 2007, 2008
8
Daniel Lezcano <dlezcano at fr.ibm.com>
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.
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.
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
26
<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN">
30
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
33
<refentrytitle>lxc-create</refentrytitle>
34
<manvolnum>1</manvolnum>
38
<refname>lxc-create</refname>
47
<command>lxc-create <replaceable>-n name</replaceable>
48
<optional>-f config_file</optional></command>
53
<title>Description</title>
56
<command>lxc-create</command> creates a system object where is
57
stored the configuration informations and where will be stored
58
runtime information. The
59
identifier <replaceable>name</replaceable> is used to
60
specify the container to be used with the different lxc
65
This object is the definition of the different resources an
66
application can use or can see. The more the configuration file
67
contains informations, the more the container is isolated and
68
the more the application is jailed.
72
If the configuration file <replaceable>config_file</replaceable>
73
is not specified, the container will be created with the default
74
isolation: processes, sysv ipc and mount points.
79
<title>Options</title>
84
<option>-n <replaceable>name</replaceable></option>
88
Specify the container name to be created.
95
<option>-f <replaceable>config_file</replaceable></option>
99
Specify the configuration file to configure the virtualization
100
and isolation functionalities for the container.
110
<title>Diagnostic</title>
115
<term>The container already exists</term>
118
As the message mention it, you try to create a container
119
but there is a container with the same name. You can use
120
the <command>lxc-ls -l</command> command to list the
121
available containers on the system.
131
<title>See Also</title>
135
<refentrytitle><command>lxc-destroy</command></refentrytitle>
136
<manvolnum>1</manvolnum>
140
<refentrytitle><command>lxc-execute</command></refentrytitle>
141
<manvolnum>1</manvolnum>
145
<refentrytitle><command>lxc.conf</command></refentrytitle>
146
<manvolnum>5</manvolnum>
154
<title>Author</title>
155
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
160
<!-- Keep this comment at the end of the file
165
sgml-minimize-attributes:nil
166
sgml-always-quote-attributes:t
169
sgml-parent-document:nil
170
sgml-default-dtd-file:nil
171
sgml-exposed-tags:nil
172
sgml-local-catalogs:nil
173
sgml-local-ecat-files:nil