StoglRobotics / ros_team_workspace

RosTeamWorkspace is a framework for boosting collaboration in teams when developing software for robots using Robot Operating System (ROS1 and ROS2).
https://rtw.stoglrobotics.de
Apache License 2.0
88 stars 18 forks source link

Add native support to docker scripts for passing Nvidia Graphics into Docker #66

Closed destogl closed 1 year ago

destogl commented 1 year ago

This add support for simply created docker containers with nvidia support. The creation of container should work in both cases, so that's the reason to add Nvidia supported configuration.

destogl commented 1 year ago

@mamueluth can we somehow reduce number of docker file to only one? There are two important changes:

  1. image name
  2. L:31 has to be added to nvidia docker file. (This is maybe something that can be filtered out using SED. Or we just leave it as it shouldn't make any difference in the standard configuration. What do you think?)