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 topic list:

Why is this taking place?