That is a image you can use to have a desktop inside container.
https://hub.docker.com/repository/docker/murer/hexblade
That would let you run any graphical application without the need to export the screen out.
Additionally you can connect using vnc
client any time if you need to see the screen.
Basically it will start hexblade desktop inside xfvb
and vnc
server.
So you can put any graphical application to run like Selenium
, Firefox
, games, etc.
Add a script on /etc/xdg/openbox/autostart.d
docker run -it -p 5900:5900 murer/hexblade
You can run a command. It will run after the X server is running.
docker run -it -p 5900:5900 murer/hexblade xterm
# apt-get install xtightvncviewer
vncviewer localhost:5900
If you exit from openbox
the container will stop