lxc-execute.sgml.in revision 0f71d073eec849672b7f5a089fb4697f423c35bc
405f61494d3ed3ca9c054dacc05a53513e172145bnicholeslxc: linux Container library
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes(C) Copyright IBM Corp. 2007, 2008
405f61494d3ed3ca9c054dacc05a53513e172145bnicholesDaniel Lezcano <dlezcano at fr.ibm.com>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholesThis library is free software; you can redistribute it and/or
0662ed52e814f8f08ef0e09956413a792584eddffuankgmodify it under the terms of the GNU Lesser General Public
405f61494d3ed3ca9c054dacc05a53513e172145bnicholesLicense as published by the Free Software Foundation; either
405f61494d3ed3ca9c054dacc05a53513e172145bnicholesversion 2.1 of the License, or (at your option) any later version.
405f61494d3ed3ca9c054dacc05a53513e172145bnicholesThis library is distributed in the hope that it will be useful,
405f61494d3ed3ca9c054dacc05a53513e172145bnicholesbut WITHOUT ANY WARRANTY; without even the implied warranty of
405f61494d3ed3ca9c054dacc05a53513e172145bnicholesMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
405f61494d3ed3ca9c054dacc05a53513e172145bnicholesLesser General Public License for more details.
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholesYou should have received a copy of the GNU Lesser General Public
16b55a35cff91315d261d1baa776138af465c4e4fuankgLicense along with this library; if not, write to the Free Software
16b55a35cff91315d261d1baa776138af465c4e4fuankgFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes <refnamediv>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes <refpurpose>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes run an application inside a container.
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes </refpurpose>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes </refnamediv>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes <refsynopsisdiv>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes <cmdsynopsis>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes <command>lxc-execute <replaceable>-n name</replaceable>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes </cmdsynopsis>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes </refsynopsisdiv>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes the <replaceable>command</replaceable> inside the container
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes specified by <replaceable>name</replaceable>. This command
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes should be used to launch an application, eg. sshd or bash.
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes This command is mainly used when you want to quickly launch an
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes application in an isolated environment. It will create an
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes intermediate process allowing you application to daemonize in
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg the pid namespace and will mount the proc filesystem to complete
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes the pid isolation.
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes <variablelist>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes <varlistentry>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes <option>-f <replaceable>config_file</replaceable></option>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes Specify the configuration file to configure the virtualization
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes and isolation functionalities for the container.
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes </varlistentry>
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg </variablelist>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes &commonoptions;
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes <variablelist>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes <varlistentry>
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg The specified container is already running an
0662ed52e814f8f08ef0e09956413a792584eddffuankg application. You should stop it before reuse this
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes container or create a new one.
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes </varlistentry>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes </variablelist>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
405f61494d3ed3ca9c054dacc05a53513e172145bnicholes<!-- Keep this comment at the end of the file
405f61494d3ed3ca9c054dacc05a53513e172145bnicholesLocal variables:
405f61494d3ed3ca9c054dacc05a53513e172145bnicholessgml-omittag:t
405f61494d3ed3ca9c054dacc05a53513e172145bnicholessgml-shorttag:t
405f61494d3ed3ca9c054dacc05a53513e172145bnicholessgml-minimize-attributes:nil
405f61494d3ed3ca9c054dacc05a53513e172145bnicholessgml-always-quote-attributes:t
405f61494d3ed3ca9c054dacc05a53513e172145bnicholessgml-indent-step:2
405f61494d3ed3ca9c054dacc05a53513e172145bnicholessgml-indent-data:t
0662ed52e814f8f08ef0e09956413a792584eddffuankgsgml-parent-document:nil
405f61494d3ed3ca9c054dacc05a53513e172145bnicholessgml-default-dtd-file:nil
405f61494d3ed3ca9c054dacc05a53513e172145bnicholessgml-exposed-tags:nil
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgsgml-local-catalogs:nil
405f61494d3ed3ca9c054dacc05a53513e172145bnicholessgml-local-ecat-files:nil