Now distrobox has its own integration with nvidia drivers, use "--nvidia" when you create an new container to use it. distrobox-nvidia Shell Script to install nvidia driver on your distrobox container