This is an ubuntu image running an X server with XFCE4 on the docker container, and making it available from any recent browser without requiring any configuration on the client side.
It also listens for direct VNC on port 5902.
It has been modified to look for the $PORT0 variable and start the websocket in that port if defined. This would be useful for deployment with Marathon and DC/OS.
How to use
docker run -td -p 6080:6080 -p 5902:5902 fernandosanchez/simpledesktop
If deployed inside Marathon, the VNC servers will be automatically be available in the "Service Port".