|
|
|
|
|
by ohthehugemanate
3120 days ago
|
|
Funny, I never thought about it that way. Namespaced processes being a linux kernel feature in the first place. That's where the whole container thing CAME from in the first place. It's only because the Windows and OSX kernels _don't_ support namespacing, that we have to run docker et al inside a virtual machine on those environments. It is not the container implementation, but the virtual machine, which makes containers "secure" on those platforms. So put more finely: containers are not secure, anywhere. Virtual machines are. So you should run your containers inside virtual machines if security is important to you. Environments that can't run containers natively are forced into the more secure configuration. If you're interested in the ongoing work to make containers more secure, Jessie Frazelle has very clear posts on the subject [1][2]. The Bubblewrap project also has a great summary of various approaches being used to "jail" container processes properly. [3] [1] https://blog.jessfraz.com/post/containers-zones-jails-vms/
[2] https://blog.jessfraz.com/post/getting-towards-real-sandbox-...
[3] https://github.com/projectatomic/bubblewrap |
|