News for hackers. Stuff that matters.
Re:Docker container breakout? by shykes on Wednesday June 18, 2014 @10:01AM (#7910117)
Hi all, I'm a maintainer of Docker. As others already indicated this doesn't work on 1.0. But it could have.

Please remember that at this time, we don't claim Docker out-of-the-box is suitable for containing untrusted programs with root privileges. So if you're thinking "pfew, good thing we upgraded to 1.0 or we were toast", you need to change your underlying configuration now. Add apparmor or selinux containment, map trust groups to separate machines, or ideally don't grant root access to the application.

Docker will soon support user namespaces, which is a great additional security layer but also not a silver bullet!

When we feel comfortable saying that Docker out-of-the-box can safely contain untrusted uid0 programs, we will say so clearly.

Re:Docker container breakout? by jacquesm on Wednesday June 18, 2014 @10:33AM (#7910303)
Thank you for being so completely transparent about things like this, I wished this attitude was more common in the IT world.
Re:Docker container breakout? by bfirsh on Wednesday June 18, 2014 @10:24AM (#7910247)
Re:Docker container breakout? by api on Wednesday June 18, 2014 @10:28AM (#7910263)
Don't worry. This is how things get more secure. Just stay the course and whack the moles. :)

Docker is awesome by the way.

Re:Docker container breakout? by ewindisch on Wednesday June 18, 2014 @02:04PM (#7911597)
Speaking of whack a mole, last month I built a docker image for the Trinity syscall fuzzer. It's a great way of finding those moles, for anyone interested in contributing to either Docker or the kernel:

https://registry.hub.docker.com/u/ewindisch/trinity/

Re:Docker container breakout? by SixSigma on Wednesday June 18, 2014 @12:19PM (#7910926)
It is better to think "less insecure" than "more secure".
Re:Docker container breakout? by nate_mcfeters on Wednesday June 18, 2014 @01:00PM (#7911173)
Great response on this. Nice seeing the transparency.
Re:Docker container breakout? by fabiokung on Wednesday June 18, 2014 @04:45PM (#7912741)
Great response.

"..., or ideally don't grant root access to the application."

+1

Re:Docker container breakout? by simonebrunozzi on Wednesday June 18, 2014 @02:04PM (#7911601)
Solomon, as always, brilliant and to the point. Keep rocking!!
Re:Docker container breakout? by sams99 on Wednesday June 18, 2014 @08:47PM (#7913808)
also worth noting that you can still de-elavate the process in the container, discourse web runs under the discourse user in the container.
Re:Docker container breakout? by rhizome on Wednesday June 18, 2014 @09:20PM (#7913908)
I don't use Docker, but this is just good peace-of-mind practice.