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 org.eclipse.osgi.storage.FrameworkExtensionInstaller (file:/usr/local/cuda-12.1/libnvvp/plugins/org.eclipse.osgi_3.10.1.v20140909-1633.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.eclipse.osgi.storage.FrameworkExtensionInstaller
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
Nvvp:
An error has occurred. See the log file
/usr/local/cuda-12.1/libnvvp/configuration/1681716337153.log.
root@guyen-MS-7B22:~/gg/git/codelab/gpu/cuda/cuda-by-example/p61#

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.,