forked from apptainer/singularity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cgroups v2 support (apply from v1/OCI spec)
Support execution on a cgroups v2 unified hierarchy system, by using the `containerd/cgroups/v2` translation of the `opencontainers/runtime-spec` `LinuxResources` structure (which we use for cgroups config toml files) into v2 Resources. Device limits are implemented with the eBPF translation. This will mean that existing v1 / OCI style cgroups configuration files can be used on a system configured for the unified hierarchy without an ugly failure. Also fixes failures with the `oci` commands on these systems. Note that we don't yet support the Unified attribute from LinuxResources, which is a free-form map[string][string] for expressing cgroups v2 configuration natively. Fixes apptainer#60
- Loading branch information
Showing
26 changed files
with
1,021 additions
and
458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.