You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 11, 2022. It is now read-only.
testing out vivid which comes with systemd by default. the cgroup pathing is changed, which slightly breaks this great utility.
hacked together a quick fix, thought you might be interested:
supported_cgroups()
-lscgroup | awk -F: "/$ID/ {print $1}" | paste -sd,
+lscgroup | awk -F: "/$ID/ {print $1}" | uniq | paste -sd,
inside()
-cgexec -g "$(supported_cgroups "$ID"):docker/$ID" --
+cgexec -g "$(supported_cgroups "$ID"):/system.slice/docker-$ID.scope" -- \