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

NAME

6       lxc-start - run an application inside a container.
7

SYNOPSIS

9       lxc-start -n name [-f config_file] [-s KEY=VAL] [command]
10

DESCRIPTION

12       lxc-start  runs the specified command inside the container specified by
13       name.
14
15       It will setup the container according to the  configuration  previously
16       defined  with  the  lxc-create  command  or with the configuration file
17       parameter.  If no configuration is defined, the  default  isolation  is
18       used.
19
20       The  orphan process group and daemon are not supported by this command,
21       use the lxc-execute command instead.
22
23       If no command is specified, lxc-start will use the default "/sbin/init"
24       command to run a system container.
25

OPTIONS

27       -d, --daemon
28              Run the container as a daemon. As the container has no more tty,
29              if an error occurs nothing will be displayed, the log  file  can
30              be used to check the error.
31
32       -f, --rcfile config_file
33              Specify  the  configuration file to configure the virtualization
34              and isolation functionalities for the container.
35
36              This configuration file if present will be used even if there is
37              already  a  configuration file present in the previously created
38              container (via lxc-create).
39
40       -s, --define KEY=VAL
41              Assign value VAL to configuration variable KEY.  This  overrides
42              any assignment done in config_file.
43

COMMON OPTIONS

45       These options are common to most of lxc commands.
46
47       -?, -h, --help
48              Print a longer usage message than normal.
49
50       --usage
51              Give the usage message
52
53       -q, --quiet
54              mute on
55
56       -o, --logfile=FILE
57              Output to an alternate log FILE. The default is no log.
58
59       -l, --logpriority=LEVEL
60              Set  log  priority  to LEVEL. The default log priority is ERROR.
61              Possible values are : FATAL, CRIT, WARN,  ERROR,  NOTICE,  INFO,
62              DEBUG.
63
64              Note  that this option is setting the priority of the events log
65              in the alternate log file. It do not have effect  on  the  ERROR
66              events log on stderr.
67
68       -n, --name=NAME
69              Use  container identifier NAME.  The container identifier format
70              is an alphanumeric string.
71

DIAGNOSTIC

73       The container is busy
74              The specified container is already running an  application.  You
75              should stop it before reuse this container or create a new one.
76

SEE ALSO

78       lxc(1),  lxc-create(1), lxc-destroy(1), lxc-start(1), lxc-stop(1), lxc-
79       execute(1), lxc-kill(1), lxc-console(1),  lxc-monitor(1),  lxc-wait(1),
80       lxc-cgroup(1),  lxc-ls(1),  lxc-ps(1), lxc-info(1), lxc-freeze(1), lxc-
81       unfreeze(1), lxc.conf(5)
82

AUTHOR

84       Daniel Lezcano <daniel.lezcano@free.fr>
85
86
87
88                         Mon Jul 26 17:09:32 UTC 2010             LXC-START(1)
Impressum