Hi,

I've went through the lxd and go-lxc binding to find the answer myself but
I stuck at

bool go_lxc_set_config_item(struct lxc_container *c, const char *key, const
char *value) {
return c->set_config_item(c, key, value);
}

Internally - that's how the config parameters are changed.

But is it possible to change lxc config parameters
like lxc.cgroup.memory.memsw.limit_in_bytes
or lxc.cgroup.memory.limit_in_bytes in runtime using some of lxc or lxd cli
utils, so that it was not required to restart a container to get its new
memory limits.

Thanks

-- 
With best regards, Ivan Kurnosov
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to