Building Docker container for ROS distributions with support for NVIDIA driver, and being able to run Gazebo simulations
Based on http://wiki.ros.org/docker/Tutorials/Hardware%20Acceleration#nvidia-docker2
./build_images.sh
./run_image.sh
cd <ros-distro>
docker build -t name:tag .
docker commit <container_id> name:tag
docker image tag name:tag
docker push name:tag
glxinfo | grep "OpenGL vendor string: NVIDIA Corporation" # Check that OpenGL is set to use NVidia
On host machine, sudo snap install foxglove-studio