ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello kk2105,

I can share the configuration that always works for me. First, I start roscore outside a docker container. Locally, and in docker container, I have the following in my ~/.bashrc:

export ROS_MASTER_URI=http://$(hostname --ip-address):11311
export ROS_HOSTNAME=$(hostname --ip-address)

Caveat: docker container was created with a --network host flag.

Please try that configuration and let me know if it helps!