Disable "systemd" feature and also "v1" feature (legacy version of cgroups). --- a/Cargo.toml +++ b/Cargo.toml @@ -422,8 +422,8 @@ tcmalloc = { version = "0.3", default-fe # syd-oci deps. clap = { version = "4.5", optional = true } -libcgroups = { version = "0.5", optional = true } -libcontainer = { version = "0.5", optional = true } +libcgroups = { version = "0.5", optional = true, default-features = false, features = ["v2"] } +libcontainer = { version = "0.5", optional = true, default-features = false, features = ["v2", "libseccomp"] } liboci-cli = { version = "0.5", optional = true } oci-spec = { version = "0.8", default-features = false, features = ["runtime"], optional = true } tabwriter = { version = "1.4", optional = true }