Langue: en

Autres versions - même langue

Version: 29 April 2009 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)


lxc-create - creates a container


lxc-create -n name [-f config_file]


lxc-create creates a system object where is stored the configuration informations and where will be stored runtime information. The identifier name is used to specify the container to be used with the different lxc commands.

This object is the definition of the different resources an application can use or can see. The more the configuration file contains informations, the more the container is isolated and the more the application is jailed.

If the configuration file config_file is not specified, the container will be created with the default isolation: processes, sysv ipc and mount points.


-n name
Specify the container name to be created.
-f config_file
Specify the configuration file to configure the virtualization and isolation functionalities for the container.


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


lxc-destroy(1), lxc-execute(1), lxc.conf(5)


Daniel Lezcano <daniel.lezcano@free.fr>