Free Hosting Online for WorkStations

< Previous | Contents | Next >

6.5. LXC startup


LXC does not have a long-running daemon. However it does have three upstart jobs.

/etc/init/lxc-net.conf: is an optional job which only runs if /etc/default/lxc-net specifies USE_LXC_BRIDGE (true by default). It sets up a NATed bridge for containers to use.

/etc/init/lxc.conf loads the lxc apparmor profiles and optionally starts any autostart containers. The autostart containers will be ignored if LXC_AUTO (true by default) is set to true in /etc/default/lxc. See the lxc-autostart manual page for more information on autostarted containers.

/etc/init/lxc-instance.conf is used by /etc/init/lxc.conf to autostart a container.


Top OS Cloud Computing at OnWorks: