3 ms·
Containers are fine for this unless you reach the popularity where you are attracting dedicated attackers. Use userns-remap. Run the docker daemon rootless if
by Spivak 4y ago
Containers are fine for this unless you reach the popularity where you are attracting dedicated attackers.
Use userns-remap. Run the docker daemon rootless if you want but don’t stress about it. Set up auth to the docker socket. Don’t bother with running the processes in the container as not uid 0, with remap it’s effort for little gain.
Now breaking containment means having a local privesc on your Linux distro or breaking the auth on the docker socket. Like that’s plenty for drive by attackers.