Searched defs:container (Results 1 - 4 of 4) sorted by relevance

/lxc/src/lua-lxc/
H A Dlxc.lua72 -- container class
73 container = {}
75 container_mt.__index = container
77 function container:new(lname, config)
94 function container:attach(what, ...)
98 function container:config_file_name()
102 function container:defined()
106 function container:init_pid()
110 function container:name()
114 function container
[all...]
/lxc/src/lxc/
H A Dattach.h34 struct lxc_container *container; member in struct:lxc_proc_context_info
/lxc/src/python-lxc/examples/
H A Dapi_test.py39 ## Instantiate the container instance
41 container = lxc.Container(CONTAINER_NAME) variable
44 assert(container.config_file_name == "%s/%s/config" %
46 assert(not container.defined)
47 assert(container.init_pid == -1)
48 assert(container.name == CONTAINER_NAME)
49 assert(not container.running)
50 assert(container.state == "STOPPED")
67 container.create("download", 0,
72 assert(container
[all...]
/lxc/src/python-lxc/
H A Dlxc.c121 * container. As lxc_attach() calls fork() PyOS_AfterFork should be called
432 struct lxc_container *container; member in struct:__anon21
438 lxc_container_put(self->container);
460 self->container = lxc_container_new(name, config_path);
461 if (!self->container) {
464 PyErr_Format(PyExc_RuntimeError, "%s:%s:%d: error during init for container '%s'.",
489 rv = self->container->config_file_name(self->container);
500 if (self->container->may_control(self->container)) {
[all...]

Completed in 13 milliseconds