On 31 March 2018 at 16:57, Tian-Jian Wu <tcwu2...@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.
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to