News for hackers. Stuff that matters.
Re:RancherOS: An OS for Docker Containers by kylek on Tuesday February 24, 2015 @11:39PM (#9105320)
Curious if anyone has come up with a way to run X11 itself in a container? (there are numerous articles on running GUI apps in containers that simply need a way to talk to Xauthority or X socket, or using VNC or xpra). I'd imagine it would need to run privileged with access to device files, or something like that.

I've kicked around the idea of a "workstation" set of containers to run on top of CoreOS, but this is the biggest hump I've run into.

Re:RancherOS: An OS for Docker Containers by TheDong on Wednesday February 25, 2015 @03:28AM (#9105839)
Many people already have run X in a container with no trouble. They often just vnc it out.

The hard part is not running X, but running X and having it display to your hardware. This is a massive distinction. You need to passthrough your graphics device so that X can write to its framebuffer and all that bizzazz, and that's the question you really should be asking. "How do I pass my graphics device / display device into a container".

Re:RancherOS: An OS for Docker Containers by kylek on Wednesday February 25, 2015 @10:35AM (#9107172)
Right, this is what I actually meant
Re:RancherOS: An OS for Docker Containers by kordless on Wednesday February 25, 2015 @11:12AM (#9107415)
Jess at Docker has some examples of setting this up and running various applications using VNC: https://blog.jessfraz.com/posts/docker-containers-on-the-des.... Scroll down a bit toward the middle.
Re:RancherOS: An OS for Docker Containers by Patrick_Devine on Wednesday February 25, 2015 @01:45PM (#9108620)
I'm starting to wrap some of my pyweek games in Docker because getting all of the pyglet/opengl/avbin dependencies to work correctly is a royal pain in the rear end.

Check out: https://github.com/pdevine/yoyobrawlah

You can use the run_docker.sh script to get things going. The image is also available on Docker Hub, but you need to pass in things like the dri device to get it working correctly.

Re:RancherOS: An OS for Docker Containers by zwischenzug on Wednesday February 25, 2015 @03:48AM (#9105890)
Re:RancherOS: An OS for Docker Containers by jdub on Tuesday February 24, 2015 @11:43PM (#9105339)
I don't imagine anyone's bothered trying too seriously, because it wouldn't solve any interesting (read: security) problems. Relatively simple software distribution of X is a solved problem. ;-)
Re:RancherOS: An OS for Docker Containers by compsciphd on Wednesday February 25, 2015 @12:08AM (#9105395)