Investigate Ways to Security-Harden the Docker Container #107
Labels
area: CI
Related to continuous intergration and deployment
priority: 3 - low
status: planning
Discussing details
type: feature
New feature or request
While Docker's defaults are supposedly pretty good, maybe we could do better. Specific areas of focus are likely seccomp and capabilities. @Akarys42 borugh up a whitepaper, which, while relatively old, may still offer some insights.
gvisor also sounds great, but it's unclear whether it implements the kernel features necessary for nsjail to work. Furthermore, even if it could, our deployment environment currently doesn't support it. According to @jb3, it specifically needs support for
containerd
.The biggest pain point is that snekbox needs to create parent cgroups for nsjail and therefore requires running the container in privileged mode. I've investigated ways to avoid this in the past, but was unsuccessful in finding any alternatives.
The text was updated successfully, but these errors were encountered: