docker cmd shell script code example
Example: how to execute docker command in shell script
echo -n "enter type compose command ? "
read type
[[ "$type" ]] && docker-compose $type;
echo -n "enter type compose command ? "
read type
[[ "$type" ]] && docker-compose $type;