Rootless Docker and Its Hidden Security Trade-Offs

7 points by WilhelmVonWeiner


lknuth

Do the same security trade-offs mentioned here also apply to Podman and friends?

viperML

In other words, running rootless builds inside a container can require you to disable some important security mechanisms.

In this case, wouldn't it be enough to allow just the syscalls required for BuildKit to function properly? (I can imagine it will require unshare, mount, and some others). You will still need to explicitly enable these, instead of enabling everything by using unconfined.