Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
prairieroadent
· 4mo ago · 0 comments
why not just a docker container
Comments
[–]
matheusmoreira
4mo ago
Because that means you are sharing kernel with the sandboxed agent. Virtualization presents an infinitely smaller attack surface.
[–]
hwc
4mo ago
If there is any attack surface within a properly-configured container, that's a kernel bug, right?
[–]
matheusmoreira
4mo ago
Probably. If I remember correctly, containers on Linux are implemented using the kernel's namespaces. The same ones which became famous for the vulnerabilities they surfaced in previously unexercised code.
[–]
croes
4mo ago
Then use SmolVM
[–]
matheusmoreira
4mo ago
I'm already using virtdev, my own solution built on top of QEMU.