Why this occurs when I run ros2 topic list or ros2 --help in a Docker container?

83 views Asked by At

I have a ros2 container running (humble-ros-base-l4t-r36.2.0). I started it with docker start -i <container_id> and used docker exec -it <container_id> to open a new shell in /bin/bash.

I even sourced the humble ros2 and echoed this (echo "source /opt/ros/humble/setup.bash" >>.bashrc). I'm not sure why this is occurring.

ros2 --help:

ros2 --help

ros2 topic list:

ros2 topic list

Why is this taking place?

0

There are 0 answers