How to get nvvp running in docker?

hi, I have tried to run nvvp from docker and expected UI pop up but instead got following:

root@guyen-MS-7B22:~/gg/git/codelab/gpu/cuda/cuda-by-example/p61# nvvp ./a.out
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by (file:/usr/local/cuda-12.1/libnvvp/plugins/org.eclipse.osgi_3.10.1.v20140909-1633.jar) to method
WARNING: Please consider reporting this to the maintainers of
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
An error has occurred. See the log file

Without docker i was able to launch from cli no issue.

What switch should I use with docker to be able to launch its UI from docker? Thanks.,