|
|
|
|
|
by cpuguy83
4315 days ago
|
|
The cgroups and namespaces do indeed provide a layer of security.
We also drop certain capabilties, so for instance root inside the container can't (by default) manipulate iptables, mount things, change network settings, etc.
To come later would also be user namespaces so root inside the container != root outside the container.
There's also a significant amount of support within Docker for selinux/apparmor stuff. Indeed, all these things come together to do exactly what jails does. Jails do not provide the same security as a VM, just like what Docker does is not providing that same level of security.
You are kidding yourself if you think jails does. It's all layers... like ogres... or onions :) |
|
Can Docker be secure? Sure -- is it? No.