Making an already created container use a GPU

Hello everyone. I have docker desktop installed on windows and I’m using a container of Ubuntu created by a college friend to do a ROS project. I have the container created and everything is working rn. Howeevr, when using gazebo, the simulator that we use in ROS, it does the rendering via CPU. I’m using vcxsrv to do the windows of the container. Is there any way to modify the container so that it uses the GPU? I have an RTX 3060, in case it matters. I’d prefer to be able to do it without having to create a new container.

TIA

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.