I’m currently running a container from a ROS image and I wish to run the setup.bash in /opt/ros/kinetic on the container from the host. I have noticed that bind mounting the directory to the host corrupts the folder so the setup.bash is no longer present. The idea right now is to bind mount a new folder on the container an create a symlink to the setup.bash but I am wondering if there is a better way to accomplish this task? I would prefer a more automatic approach.
Thanks in advance!