We are developers of project clondroid (https://github.com/clondroid) Our android porting lxc tools are at https://github.com/clondroid/lxc-for-Android-7.1.2. This command 'lxc config set my-container limits.memory 256MB' , the 'lxc' command seems be part of LXD project. If so, I guess it's written in GOLANG. Wondering if there is a chance to port LXD to android...
2018-03-31 18:28 GMT+08:00 Sergiusz Pawlowicz <sergi...@pawlowicz.name>: > 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 >
_______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users