How to use ROS with Docker inside a catkin_ws
I have docker installed on my Ubuntu (Jetpack) machine and I have a catkin_ws. I want to catkin_make (build) it and then roslaunch a launch file and rosrun a python script. I am not understanding how to do it. I am experienced with ROS but I am new to docker. Assistance will be much appreciated.
As-is, your question does not appear to be a ROS question. It's a question about Docker usage.
I'd suggest to first get some more experience with Docker, as using it with ROS will then become much easier.
Apart from making sure your environment is correctly configured inside the container (ie:
source
the appropriatesetup.bash
) there isn't really anything special about using ROS with Docker when compared to other, non-ROS, programs.It's not much, but as a starting point, you could take a look at wiki/docker.
Can you upload your dockerfile?