coder / envbox

envbox is an image that enables creating non-privileged containers capable of running system-level software (e.g. dockerd, systemd, etc) in Kubernetes.
GNU Affero General Public License v3.0
34 stars 8 forks source link

fix(envbox): work with cgroupv2 #34

Closed johnstcn closed 1 year ago

johnstcn commented 1 year ago

Fixes https://github.com/coder/envbox/issues/28

Tested on:

Tested with both systemd.unified_cgroup_hierarchy=1 and systemd.unified_cgroup_hierarchy=0.

You can test yourself with the envbox image gcr.io/coder-dev-1/coder-cian/envboxv2:pr34

Screenshot 2023-05-10 at 12 09 16

Screenshot 2023-05-10 at 12 06 58