Running GUI applications inside docker might be useful when sandbox mechanism is needed or debugging complex and tricky container networking related issues.
Generally there are 3 major ideas when trying to run GUI applications in docker, which are:
- Penetrate in the host X11 sockets (most straight forward but not fully secure)
- Expose SSH connection and use
- Run VNC server inside the container and use VNC client to access the GUI application inside