ROS with Docker on Apalis imx8

Using Apalis imx8, Ixora V1.2A board with TorizonCore.

I am trying to run ‘roscore’ inside a docker container and get the following error-

auto-starting new master
process[master]: started with pid [139]
RLException: ERROR: could not contact master [http://apalis-imx8-07201935:11311/]
The traceback for the exception was written to the log file

Any help would be appreciated.

Greetings @sdass,

Can you provide more details on this ROS container you are using? We don’t have too much knowledge or expertise with ROS. Though I see there is documentation on using ROS with Docker: docker/Tutorials/Docker - ROS Wiki

Best Regards,


I am using ros-noetic based container and emulating amd64. I develop with ROS and docker, but haven’t been able to resolve this issue with the module.

How are you setting things up? Where is the master node? How are you running each container?

You need to start a master node somewhere. Then other nodes can connect to this. Looking at your error it seems like this master node is not set up properly or it can’t be reached.

Hi @sdass !

Were you able to solve your issue? If yes, could you please share the solution?

Or, if you still need help, let us know :slight_smile:

Best regards,