News for hackers. Stuff that matters.
Re:BSD vs. Linux (2005) by eropple on Tuesday July 05, 2016 @03:52AM (#12034980)
Yup yup. Like, I recall a blog post by a Docker core contributor and employee saying, "Run your desktop apps in Docker containers to sandbox them! Just volume the X socket into the container."

(Of course, the Dockerfiles were also running apps--like, say, Chrome--as root, with no user namespaces, so it wasn't exactly great anyway.)

Re:BSD vs. Linux (2005) by Filligree on Tuesday July 05, 2016 @07:33AM (#12035677)
Sure it's breakable, but that still isn't bad advice. In practice, an application run with the evil bit set won't know how to break out of such a container, nor how to abuse the X socket.

It's only bad advice if you're relying on Docker to provide security against targeted threats. Know your enemy.