Centos lxc容器不会在Ubuntu 14.10上启动

我正在尝试在Ubuntu 14.10 Utopic和Ubuntu 14.04中运行Centos容器。 我用几种不同的方式创build了容器,不pipe它不会启动并吐出这些行:

# lxc-start -n centos1 -F init: Failed to spawn lxc-sysinit pre-start process: unable to set priority: Permission denied init: Failed to spawn rcS pre-start process: unable to set priority: Permission denied init: Failed to spawn rcS post-stop process: unable to set priority: Permission denied 

我在这里和那里search,我发现了一些东西。 我尝试在configuration中逐一添加这些行,并全部添加:

 lxc.aa_allow_incomplete = 1 lxc.aa_profile = unconfined lxc.kmsg = 0 

我也尝试过不同的方式来创build容器:

 lxc-create -n centos1 -t download -- -d centos --release 6 -a i386 lxc-create -n centos1 -t centos 

我也尝试了一些其他的模板,而不是使用Ubuntu的。

任何提示? 非常感谢你。

如何尝试这些命令:

 lxc remote add images 1.2.3.4 lxc launch images:centos/6/i386 test 

您需要指定这些图像的位置,您可以通过指定images:来执行此操作images:启动。