@LXC_GENERATE_DATE@lxc-execute1lxc-execute
run an application inside a container.
lxc-execute -n name-f config_filecommandDescriptionlxc-execute runs
the command inside the container
specified by name. This command
should be used to launch an application, eg. sshd or bash.
If the container does not exist, it is automatically created and
destroyed at the end. The command can use the configuration file
to create itself the container
like lxc-create would do and will destroy the
container when the application exits. If the container was
previously created with the lxc-create command, when the
application exits, the container is not destroyed and it can be
reused later.
This command is mainly used when you want to quickly launch an
application in an isolated environment. It will create an
intermediate process allowing you application to daemonize in
the pid namespace and will mount the proc filesystem to complete
the pid isolation.
Options
Specify the container name to be executed.
Specify the configuration file to configure the virtualization
and isolation functionalities for the container.
DiagnosticThe container is busy
The specified container is already running an
application. You should stop it before reuse this
container or create a new one.
See Alsolxc-create1,
lxc-destroy1,
lxc-start1,
lxc-stop1,
lxc.conf5AuthorDaniel Lezcano daniel.lezcano@free.fr