But containers themselves should not -- there are plenty of security benefits to using containers. There is no real difference between an LXC container and a runc container besides the fact that Docker defaults to running thing as root and without user namespaces. That is obviously a bad decision, but it's not an indictment of containers as a concept.
It makes me sad that lxc doesn't get more love. LXC has had unprivileged containers as its default for 5+ years now. Its a really solid tool set that has mostly been passed over for lack of marketing.
If you say “don’t run your containers as root on the host”, this matches the issue better.
Another with ptrace (fixed by making the process non-dumpable).
https://brauner.github.io/2019/02/12/privileged-containers.h...