[lxc-users] Attach a lxc container to an existing cgroup ?
Serge Hallyn
serge.hallyn at ubuntu.com
Fri Mar 21 20:10:02 UTC 2014
Quoting Guido Jäkel (G.Jaekel at DNB.DE):
> On 2014-03-21 15:24, Serge Hallyn wrote:
> >>
> >> [...]. But you may write a little script that will re-read the lxc configuration and update the definded cgroup entries. @Serge: Such an lxc-reconfigure command may be something to add to the lxc package.
> >
> > What would the lxc-reconfigure command do exactly?
>
> Re-apply all lxc.cgroup entries from the config(s) to a running container, espc. to update values for resource limiters like memory, cpu, blkio or such.
>
> Maybe the lcx-group tool is a good place to offer such a facility.
>
> Guido
>
lxc-cgroup reload? Might be good.
I also think we can do something to accomodate OP's goals. I'm hoping
someone else will code both :)
More information about the lxc-users
mailing list