docker and disply connection

Hi,
I was trying to install OpenFOAM for CFD simulation.
As mentioned on installation instruction they have recommended install on docker.
To see the graphical result of the simulation, I facing this error regarding display connection error.


QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
qt.qpa.screen: QXcbConnection: Could not connect to display 
Could not connect to any X display.

Is there anything related to docker setting on OpenSUSE or any specific package that I need be aware of it?
I did not have that issue on Ubuntu.
Any help is really appreciated.

You’re going to have to describe everything.

  1. Verify how you installed openFOAM, from what repository or source.
  2. What method you’re using to access a graphical display in a container. There is no single standard way, and many described by various blogs.
  3. If you are following a published guide, provide a reference.

And,
You should of course describe what DE, WM you’re running and in particular if you’re running Wayland, XWayland or Xorg to generate your graphics.

You should also describe what is the action that throws the error you posted.

TSU

Thank you for the message.
I will reply all on your email: