This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtcontainers: add function to identify systemd cgroup path
Add function to identify if the given cgroup path is a systemd cgroup path. We need to parse the cgroup path to know which cgroup manager we have to use, since some container engines do not use `--systemd-cgroup` runtime option. Signed-off-by: Julio Montes <[email protected]>
- Loading branch information
Julio Montes
committed
Jan 15, 2020
1 parent
4126968
commit 8057cd7
Showing
2 changed files
with
38 additions
and
0 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