

What am I doing wrong here? does vglrun not work in a container?ĮDIT: It seems I was approaching this problem the wrong way, it seems to work when I'm on the primary :0 display but when using VNC to view display :1, the Mesa drivers get used instead of the Nvidia ones. Running it with vglrun -d :1.0 glxgears or vglrun -d unix:1.0 glxgears gives me this error: Error: couldn't get an RGB, Double-buffered visual I have also tried using the nvidia container nvidia/opengl:1.1-glvnd-runtime-centos7 with no success. I can confirm running glxgears without vglrun works fine but my application I'm trying to build into docker inherently uses vglrun. | 0 Tesla M60 Off | 00000000:00:1E.0 Off | 0 | How to use yum in Dockerfile correctly Example of how to install the mkpasswd package using yum in your Dockerfile: use-yumdockerfile-correctly. | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M.

| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. I am currently running it with -gpus all on the docker run line as well # xhost +si:localuser:root I am trying to build a container that can hold an opengl application but I'm having trouble getting vglrun to work correctly. Note: This is on a headless AWS box on VNC, the current desktop I'm running on is DISPLAY=:1.0
