Opening GUI applicationswith ssh


I am curious if it is possible to open a GUI application through a Xserver running inside the container. I can ssh into the hostOS locally for development images, but I am not sure how I can implement this from the container side.

The intention is to open a GUI application running inside the container from a client machine e.g. ssh -X clock

The intention is NOT to display this through the HDMI display

Thank you in advance.