~kim0/lxc/bug-740167

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
.\" This manpage has been automatically generated by docbook2man 
.\" from a DocBook document.  This tool can be found at:
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
.\" Please send any bug reports, improvements, comments, patches, 
.\" etc. to Steve Cheng <steve@ggi-project.org>.
.TH "LXC-CREATE" "1" "26 October 2010" "" ""

.SH NAME
lxc-create \- creates a container
.SH SYNOPSIS

\fBlxc-create \fI-n name\fB
[-f config_file]
[-t template]\fR

.SH "DESCRIPTION"
.PP
\fBlxc-create\fR creates a system object where is
stored the configuration informations and where can be stored
user information. The identifier \fIname\fR
is used to specify the container to be used with the different
lxc commands.
.PP
The object is a directory created in \fI/var/lib/lxc\fR
and identified by its name.
.PP
The object is the definition of the different resources an
application can use or can see. The more the configuration file
contains informations, the more the container is isolated and
the more the application is jailed.
.PP
If the configuration file \fIconfig_file\fR
is not specified, the container will be created with the default
isolation: processes, sysv ipc and mount points.
.SH "OPTIONS"
.TP
\fB   -f \fIconfig_file\fB \fR
Specify the configuration file to configure the virtualization
and isolation functionalities for the container.
.TP
\fB   -t \fItemplate\fB \fR
\&'template' is the short name of an existing 'lxc-template'
script that is called by lxc-create,
eg. busybox, debian, fedora, ubuntu or sshd.
Refer to the examples in \fI/usr/lib64/lxc/templates\fR
for details of the expected script structure.
.SH "DIAGNOSTIC"
.TP
\fBThe container already exists\fR
As the message mention it, you try to create a container
but there is a container with the same name. You can use
the \fBlxc-ls -l\fR command to list the
available containers on the system.
.SH "SEE ALSO"
.PP
\fBlxc\fR(1),
\fBlxc-create\fR(1),
\fBlxc-destroy\fR(1),
\fBlxc-start\fR(1),
\fBlxc-stop\fR(1),
\fBlxc-execute\fR(1),
\fBlxc-kill\fR(1),
\fBlxc-console\fR(1),
\fBlxc-monitor\fR(1),
\fBlxc-wait\fR(1),
\fBlxc-cgroup\fR(1),
\fBlxc-ls\fR(1),
\fBlxc-ps\fR(1),
\fBlxc-info\fR(1),
\fBlxc-freeze\fR(1),
\fBlxc-unfreeze\fR(1),
\fBlxc.conf\fR(5)
.SH "AUTHOR"
.PP
Daniel Lezcano <daniel.lezcano@free.fr>