3 ms·
It might be better to look at rkt with a kvm backend if you want/need real isolation and resource limits. Maybe docker will provide isolation/security at some p
by e12e 11y ago
It might be better to look at rkt with a kvm backend if you want/need real isolation and resource limits. Maybe docker will provide isolation/security at some point, but the core differentiating thing about Docker vs OpenVZ etc is ease of use -- explicitly forgoing much of the security and isolation possible in the underlying technology.
From what I've seen, trying to bolt security and isolation back onto Docker is generally a bad idea.
That said, when people have done the work to make microservices deployable under Docker, they have in general laid the groundwork needed to run these services in a truly isolated environment. So in that respect Docker is great; the effort to run something that works in a minimal Docker container in a jail/chroot/vm should be much less than starting from scratch; a lot of the assumptions about resources/dependencies should already be fixed.