Quoting Michael H. Warfield (m...@wittsend.com):
> On Thu, 2013-10-31 at 13:00 -0500, Serge Hallyn wrote: 
> > Quoting Michael H. Warfield (m...@wittsend.com):
> > > I did incorporate your suggestion of using the hash of the rootfs path
> > > as the subdirectory under the hosts /dev/ for the container.  I also
> > 
> > (Printed this out to look it over, just putting all my comments together
> > here) :
> > 
> > 1. I think if /dev is not devtmpfs, we should just bail on this.
> > 
> > 2. You say in comments that you're using the cgroup name, but it seems
> >    you're actually just using the container name?
> > 
> > 3. The cgroup name used to be unique, but now each mounted cgroupfs
> >    can actually have a different name for the same container (if some
> >    of them didn't get cleaned out well).
> 
> Maybe I misunderstood something here but I thought you told me at

You did (or I wasn't clear :).  The container names need to be unique within
a given lxcpath.  So you can

        lxc-create -t fedora -n Fedora19
        lxc-create -t fedora -n Fedora19 -P /opt/lxc1
        for i in `seq 2 201; do
                lxc-create -t fedora -n Fedora19 -P /opt/lxc$i
        done

and start them all by passing -P <lxcpath> to lxc-start.

-serge

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to