[lxc-users] dynamic cgroup memory limit

Sergiusz Pawlowicz sergiusz at pawlowicz.name
Sat Mar 31 10:28:11 UTC 2018


On 31 March 2018 at 16:57, Tian-Jian Wu <tcwu2005 at gmail.com> wrote:
> please allow my silly question , how?
> I know it's ok to set memory limit in config file and it's set to kernel
> later.
> But after container started how to change memory limit?  What command?

it is clearly described on:

https://insights.ubuntu.com/2016/03/30/lxd-2-0-resource-control-412

lxc config set my-container limits.memory 256MB

s.


More information about the lxc-users mailing list