Docker Bomb
github.com
github.com
> Now wait patiently until your hd fills up.
This is obviously slower than a fork bomb, but I wonder which happens first: either the hard drive actually fills up or you run into a process limit.
If you're looking to restrict what users can do with docker on a host there's a variety of overlay packages you can look at to do that, with things like docker Universal Control Plane.
Theoretically there's a Docker authorisation plugin framework which could be used to restrict what user's who connect to the daemon can do, but it's never (AFAIK) really taken off.
I had the impression that this technology was only usable for the "single user machine" use-case, as too many bad things might happen in true multi-user environments - what is quite limiting in a unix world where we are used to multi-user reality since a long time - it was disturbing to see that such a successful tec seemed to ignore that.
However, I am really happy for any updates on this issue, I did not follow Docker development too much, so punish me when I am totally wrong!
Using user namespace support, root in a container is mapped to a non-root high UID user outside the container.
You can also use cgroup support to limit the resources used by an individual container.
There's quite a few recommendations in the Docker CIS security guide that can be helpful for locking down an installation
https://benchmarks.cisecurity.org/tools2/docker/CIS_Docker_1...