Test to see how to run GUI apps in Docker
Run WSL 2 + xserver. I'm running WSL 2 through MobaXterm.
If you're using MobaXterm, you'll need to export the DISPLAY
env variable using export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
You may run into permissions issues. If that's the case, try xhost +local:all
.