Bringing New Security Features To Docker
Czech37 writes SELinux lead Dan Walsh wrote last month that Docker "containers do not contain" and that the host system isn't completely protected. Today, Walsh details the steps that Docker, Red Hat, and the open source community are taking to make Docker more secure: "Basically, we want to put in as many security barriers to break out as possible. If a privileged process can break out of one containment tool, we want to block them with the next. With Docker, we are want to take advantage of as many security components of Linux as possible. If "Docker" isn't a familiar word, the project's website is informative; the very short version is that it's a Linux-based "open platform for developers and sysadmins to build, ship, and run distributed applications"; Wikipedia has a good explanation, too.
How about finally integrating grsec into the kernel? There already are a ton of features thought for chroots and containers...
Even just optionally...
"Basically, we want to put in as many security barriers to break out as possible. If a privileged process can break out of one containment tool, we want to block them with the next. With Docker, we are want to take advantage of as many security components of Linux as possible.
Take this to the ultimate conclusion and you have just reinvented virtualisation.
What irony? By walled garden they mean Apple's controlled ecosystem. Docker is open source and mainly meant to run open source. The standards are open, the working group is open...
motherfuckers.
we should chop their heads
FreeBSD's jails have been around for about 15 years, and Solaris' zones about 10. Why the hell didn't the LXC folks just not copy what already worked?
* https://en.wikipedia.org/wiki/FreeBSD_jail
* https://en.wikipedia.org/wiki/Solaris_Containers
* https://en.wikipedia.org/wiki/Operating_system%E2%80%93level_virtualization
Because everyone want to act like they discovered and created a new paradigm in computing. They want to be the new Gates or Zuckerberg. A kernel rewrite would fix docker et al. up, instead of trying to bend the existing system to fit these changes. The best would be to create a micro busybox type OS that could easily have the wanted app added to it. Then each could live in their own virtual space. Make hundreds as needed. Then run them on a hypervisor.
Docker is just a way of starting processes on top of a union file system, with some simple capabilities management. You can wrap whatever other security features you want around it. Frankly, SELinux wouldn't be my first choice, both because of where it comes from and because I don't like the way it works, but, hey, whatever floats your boat.
As far as SELinux and AppArmor are concerned, what I'd really like to see is being able to install Ubuntu without either package installed. Right now, I seem to be pretty much forced to install both, whether I want to or not.
CoreOS
You can download Docker source code, compile it yourself, have your own image repository, and even copy just the dockerfiles to put big/complex installations under your supervision/control rebuiding/tuning them yourself
What docker does is provide a "walled garden" for applications from other people/companies running in your own servers/desktops, limiting what they can do with your system and data, like a lightweight VM. The focus of this article is how to impove the security of that "walled garden" even more.
A closed platform, walled garden or closed ecosystem[1][2] is a software system where the carrier or service provider has control over applications, content, and media, and restricts convenient access to non-approved applications or content. --Wikipedia definition of a Walled Garden
Please explain how this applies to Docker.