cpuguy83 / containerd-shim-systemd-v1

Apache License 2.0
57 stars 2 forks source link

Add support for shim cgroup #2

Open cpuguy83 opened 2 years ago

cpuguy83 commented 2 years ago

The runc shim supports a shim cgroup where the client sets up a group it wants the shim to run in. Since we only have 1 shim for the entire node this doesn't really make much sense... except we do use some helper processes:

  1. pty copier
  2. bootstrap helper
  3. exit handler

These could/should all go into the cgroup defined int he runc shim option.