4 ms·
Alternatively, running all your services as VMs also helps. Having root in a VM doesn't typically give you any rights on the hypervisor (at least not on eg Xen
by eru 5y ago
Alternatively, running all your services as VMs also helps.
Having root in a VM doesn't typically give you any rights on the hypervisor (at least not on eg Xen).
- deleted 5y ago[deleted]
- ahepp 5y agoWell, if they get root on your mongo vm they can still drop all your tables (or ransomware you) right? So would it make a difference in this particular case? Outside the VM tooling probably not being so insane as to bypass the firewall?
- eru 5y agoWell, in this case docker was trying to be helpful. On a hypervisor, it's much harder for VMs to influence each other. Linux containers (and docker amongst them) started out as convenient and reasonably performant, and added security later. One patch at a time. Historically, hypervisors typically started secure and added performance and convenience over time. (Very simplified. But I used to work for XenSource back in the day.)