Commit 7607275
fix: prevent DinD containers escaping the pod cgroup on cgroup v2 (#98)
* fix: add cgroup wrapper
* Revert "fix: add cgroup wrapper"
This reverts commit f0147f2.
* fix: run all containers in given cgroup
* hardcode parent cgroup
* fix: fix cgroups
* fix: add dockerd_params
* fix(cgroup): set `memory.oom.group=0` for dind container
* change v2 detection condition
* buld: revert me
* Revert "buld: revert me"
This reverts commit 922c0e1.
* fix: create custom cgroup
* revert cgroup parent
* refine logs
* refine logs
* Revert "revert cgroup parent"
This reverts commit 9ba581a.
* fix: move containerd process to init cgroup
* fix: specify correct path for cgroup
* docs: add explanational comments
* docs: improve comments
---------
Co-authored-by: Vadim Gusev <vadim.gusev@codefresh.io>
Co-authored-by: Vadim Gusev <vadim.gusev@octopus.com>1 parent 0e500d0 commit 7607275
2 files changed
+29
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
191 | 218 | | |
192 | 219 | | |
193 | 220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments