@LXC_GENERATE_DATE@ lxc-execute 1 lxc-execute run an application inside a container. lxc-execute -n name -f config_file command Description lxc-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. Diagnostic The 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 Also lxc-create 1 , lxc-destroy 1 , lxc-start 1 , lxc-stop 1 , lxc.conf 5 Author Daniel Lezcano daniel.lezcano@free.fr