It is configurable. For LXD you can do:

lxc config set <container-name> limits.kernel.memlock 20000000000

or in a lxc config file:

lxc.prlimit.memlock = 20000000000

** Changed in: lxd (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1798789

Title:
  setting limitmlock in systemd results in `ulimit -l` being a thousands
  smaller in container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1798789/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to