On Tue, Jan 17, 2012 at 10:35 AM, allen <allen303al...@gmail.com> wrote:

> hi all:
>    I use lxc-0.7.4.1 on Ubuntu10.10-i686, when I use as a normal user
> the simplest way:
>
> -------------------------
> allen@allen-vm:/home$ lxc-create -n hq
> This command has to be run as root
> allen@allen-vm:/home$ sudo lxc-create -n hq
> 'hq' created
> allen@allen-vm:/home$ lxc-start -n hq
> lxc-start: failed to clone(0x2c020000): Operation not permitted
> lxc-start: Operation not permitted - failed to fork into a new namespace
> lxc-start: failed to spawn 'hq'
> lxc-start: No such file or directory - failed to remove cgroup '/cgroup/hq'
> lxc-start: failed to destroy name
> -------------------------
>
> Does that mean I must user lxc as a root user? Why is this necessary?
> Or how can I use lxc as a non-root user?
>
> Thanks in advance.
>

You could try libvirt too, with libvirtd.



-- Stephen

*"Kids these days.*
*Whatever happened to hard work?"*

       -- Joel Spolsky, The perils of javaschools
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to