Running GUI apps in Docker containers using VNC

In case you don’t feel like reading yet another rant, this is the gist of it: 1) Run your container and expose port 5901 to your host docker run -p 5901:5901 -t -i ubuntu 2) set up VNC server in the container and run it sudo apt-get install vnc4server vnc4server -geometry 1400×1000 3) export $DISPLAY…