docker run command sh code example
Example 1: run /bin/sh command in docker file
RUN ["/bin/bash"] ["-c"] ["/opt/ros/melodic/setup.bash"]
Example 2: how to execute docker command in shell script
echo -n "enter type compose command ? "
read type
[[ "$type" ]] && docker-compose $type;