Installing IAR on Linux container using wine

on top of “ubuntu” base image i want to install IAR 8.30.2 using Wine in Dockerfile

While docker build I am getting issues with respect to X servrer during IAR 8.30.2 installation

002b:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002b:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.

Wine allows you to run Windows applications on Linux, it doesn’t include its own GUI system. so we need the X server to provide the graphical environment necessary for the Windows application to run, and we must set up display forwarding to make this work within a containerized environment.

I am doing the needful

installed x11-apps in base image, setting the environment variable

I am able to install IAR 9.10.1 successfully, but getting X server issue when installing IAR 8.30.2.
Any inputs on IAR installation on linux using wine?
Why it is working for one version of IAR and failing for other?