Closed mzahana closed 1 year ago
The existing run_dev.sh
script accepts a first positional argument that indicates the location of the isaac_ros-dev
workspace, and then all other arguments are passed forward as arguments to docker run
here. Then, our workspace entrypoint script script performs some one-time setup for ROS and udev rules, before running the /bin/bash
executable provided as an argument here.
Based on your use case, you could try one of the following:
run_dev.sh
script to run your command directly, instead of running /bin/bash
workspace-entrypoint
script to run your command
Hi I need to pass bash commands to the docker container created using run_dev.sh when executing the
docker run
commandFor example, I would usually do this using something like this
However, when I add
bash -c "$CMD"
in the run command here, it does not log into the container terminal. Instead, I get the following outputCan you please provide some guidance on how to do this properly?
Thanks.