Running sim on a VM in a docker container

How do you run the PX4 Autopilot in a docker container with forwarded simulated video feed. I can get the sim running from docker but there’s no simulated video window. Any suggestions?