installing ros inside docker
I have installed a docker for a package called fairseq as:
sudo docker run --rm -itd --name flashlight flml/flashlight:cpu-latest
I'm trying to install ros inside this docker container so that i can create a ros wrapper for the flashlight python module for creating a ros node. When i follow the normal ros noetic installation inside this container i'm getting errors like:
root@4be3b2fe19d7:~# sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sh: 1: lsb_release: not found
So what is the method to install ros inside a docker?