Skip to content

Commit

Permalink
[cgroups2] Enable support for nested containers in the isolator.
Browse files Browse the repository at this point in the history
We enable support for nested containers on systems with cgroups v2 with
this patch. This means that nested containers will now have their
cgroups created for them, and that the cgroups2 isolator functions will
be called for nested containers.

Review: https://reviews.apache.org/r/75177/
  • Loading branch information
ZhouJas authored and bmahler committed Aug 16, 2024
1 parent c575673 commit 36e89c7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ Try<Isolator*> Cgroups2IsolatorProcess::create(

bool Cgroups2IsolatorProcess::supportsNesting()
{
// TODO(dleamy): Update this once cgroups v2 supports nested containers.
return false;
return true;
}


Expand Down

0 comments on commit 36e89c7

Please sign in to comment.