1LXC-CREATE(1)                                                    LXC-CREATE(1)
2
3
4

NAME

6       lxc-create - creates a container
7

SYNOPSIS

9       lxc-create -n name [-f config_file] [-t template]
10

DESCRIPTION

12       lxc-create  creates  a  system object where is stored the configuration
13       informations and where can be stored user information.  The  identifier
14       name is used to specify the container to be used with the different lxc
15       commands.
16
17       The object is a directory created in /var/lib/lxc and identified by its
18       name.
19
20       The  object is the definition of the different resources an application
21       can use or can see. The more the configuration file  contains  informa‐
22       tions,  the more the container is isolated and the more the application
23       is jailed.
24
25       If the configuration file config_file is not specified,  the  container
26       will  be  created  with  the default isolation: processes, sysv ipc and
27       mount points.
28

OPTIONS

30       -f config_file
31              Specify the configuration file to configure  the  virtualization
32              and isolation functionalities for the container.
33
34       -t template
35              'template'  is  the  short  name  of  an existing 'lxc-template'
36              script that  is  called  by  lxc-create,  eg.  busybox,  debian,
37              fedora,   ubuntu   or   sshd.    Refer   to   the   examples  in
38              /usr/lib64/lxc/templates for  details  of  the  expected  script
39              structure.
40

DIAGNOSTIC

42       The container already exists
43              As  the  message  mention  it, you try to create a container but
44              there is a container with the same name. You can use the  lxc-ls
45              -l command to list the available containers on the system.
46

SEE ALSO

48       lxc(1),  lxc-create(1), lxc-destroy(1), lxc-start(1), lxc-stop(1), lxc-
49       execute(1), lxc-kill(1), lxc-console(1),  lxc-monitor(1),  lxc-wait(1),
50       lxc-cgroup(1),  lxc-ls(1),  lxc-ps(1), lxc-info(1), lxc-freeze(1), lxc-
51       unfreeze(1), lxc.conf(5)
52

AUTHOR

54       Daniel Lezcano <daniel.lezcano@free.fr>
55
56
57
58                         Mon Jul 26 17:09:32 UTC 2010            LXC-CREATE(1)
Impressum