How can you run GUI applications in a Docker container?
Are there any images that set up vncserver
or something so that you can - for example - add an extra speedbump sandbox around say Firefox?
How can you run GUI applications in a Docker container?
Are there any images that set up vncserver
or something so that you can - for example - add an extra speedbump sandbox around say Firefox?
You can allow the Docker user (here: root) to access the X11 display:
OSX (10.13.6, high sierra)
Similar to @Nick's answer, but his solution did not work for me.
First install socat by doing
brew install socat
, and install XQuartz (https://www.xquartz.org/)Then followed these steps here (http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/) in the comments section:
I was also able to launch CLion from my debian docker container too.