Today we use Tiryoh's Dockerfiles in order to build a container with ROS2 so that we can have a GUI to use tools like rviz2 and Gazebo.
Article: https://aicasts.ghost.io/using-gui-wi...
For more information on the Dockerfiles provided by Tiryoh checkout the GitHub: https://github.com/Tiryoh/docker-ros2...