queer / squish

An experimental, rootless, Alpine-based container runtime
Other
22 stars 2 forks source link

feature(pid1): cgroup support #26

Open queer opened 3 years ago

queer commented 3 years ago

This is a bit hairy as cgroups require root for initial configuration -- definitely something that has to be set up as a part of package installation. What's the best way to do this?

queer commented 3 years ago

The most effective way of doing this without root seems to be tying squish to systemd, and using the user slice cgroups to create subcgroups.