Answers for "docker execute file .sh by command"

1

run /bin/sh command in docker file

RUN ["/bin/bash"] ["-c"] ["/opt/ros/melodic/setup.bash"]
Posted by: Guest on April-27-2021
0

how to execute docker command in shell script

echo -n "enter type compose command ? "
read type

[[ "$type" ]] && docker-compose $type;
Posted by: Guest on February-07-2021

Browse Popular Code Answers by Language