[lxc-users] Elegant way for unprivileged container ulimits
Bostjan Skufca
bostjan at a2o.si
Mon Sep 14 19:08:25 UTC 2015
Open files limit is the one I need (for unpriv. containers), but if
framework is set correctly, others can be added too.
Open files limit can not be raised later on when container switches
into unprivileged mode, so I need to set it before that, but not in
external process. Setting this in process that is starting the
lxc-start is the way currently, but awkward.
b.
On 14 September 2015 at 18:45, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> Which limits would you be intending to set?
>
> Quoting Bostjan Skufca (bostjan at a2o.si):
>> (there was no response on this subject)
>>
>> I checked the documentation, there is nothing on this subject.
>>
>> Serge, Stephane:
>> I am considering implementing lxc.ulimit.XXX = X feature. Would that
>> be something that is interesting for inclusion in main LXC releases
>> (1.1.x)?
>>
>> b.
>>
>>
>>
>>
>> On 18 August 2015 at 11:18, Bostjan Skufca <bostjan at a2o.si> wrote:
>> > Hi all,
>> >
>> > is there any elegant way for setting unpriv. container ulimits, other
>> > than setting it in current shell and starting container from that
>> > shell (and scripting all this together)?
>> >
>> > Hooks do not work, as they are executed as subprocesses.
>> >
>> > b.
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list