Docker Community Forums

Share and learn in the Docker community.

Low GPU usage in Docker container

I am trying to use the dorowu/ubuntu-desktop-lxde-vnc VNC image with my Nvidia Quadro T2000 GPU. However, all GPU-intensive apps that I run inside the container are much slower than on host.

I can confirm that the nvidia-smi command works in the container, so I think the GPU drivers are correctly configured. If I try to run glxgears inside the container, I get around 2800 FPS and the GPU usage is 30%. If I run glxgears on host, I get around 14000 FPS and GPU usage is 100%.

Any idea why the container does not use the GPU fully? Thank you!