[lxc-users] can't start container

Tamas Papp tompos at martos.bme.hu
Wed Nov 19 10:10:41 UTC 2014


On 11/19/2014 11:02 AM, Denis Müller wrote:
> Hi,
>
> i'm using centos 6 and lxc 1.06, but i can't start my container
>
> /var/lib/lxc/centos1/config:
>
> ######
> lxc.network.type = veth
> lxc.network.flags = up
> lxc.network.link = lxcbr0
> lxc.network.hwaddr = fe:5f:fa:6a:96:44
> lxc.rootfs = /var/lib/lxc/centos1/rootfs
> lxc.include = /usr/share/lxc/config/centos.common.conf
>
> lxc.arch = x86_64
> lxc.utsname = centos1
>
> lxc.autodev = 0
> lxc.network.ipv4.gateway = 10.0.3.1
> lxc.loglevel = 1
> lxc.logfile = /var/lib/lxc/centos1/log
>
> #####
>
>
> lxc-start -n centos1
> lxc-start: cgroupfs failed to detect cgroup metadata
> lxc-start: failed initializing cgroup support
> lxc-start: failed to spawn 'centos1'
> lxc-start: The container failed to start.
> lxc-start: Additional information can be obtained by setting the 
> --logfile and --logpriority options.
>
> Could anybody help?


Have you set cgroup mount(s) up?

t


More information about the lxc-users mailing list