Development setup for multiple ROS distros?

Chiming in a bit late, sorry!

Yeah, I recommend using Docker as well for such scenario. Many of my clients are still running Indigo, but I’ve moved on from Trusty, so I run a Docker container for building/running every project. One of the advantages of Docker is that since you have to write every step in Dockerfiles, you can also use that as a starting point for documenting the dependencies of your project.

However I’ve never got graphics acceleration working with nvidia-docker. CUDA works just fine, but not OpenGL. In any case, it’s no big deal because for Gazebo I run gzserver on a Docker container and gzclient on the host, which has proper graphics acceleration.

@ruffsl, is https://github.com/NVIDIA/nvidia-docker/issues/11 still relevant or it’s just a problem on my end? If it’s the former, I can add a note to http://wiki.ros.org/docker/Tutorials/Hardware%20Acceleration#Nvidia clarifying that only CUDA is supported inside a Docker container.