|
|
@ -173,6 +173,11 @@ else
|
|
|
|
if [ "$check" == "" ]; then
|
|
|
|
if [ "$check" == "" ]; then
|
|
|
|
"echo" "-e" "Error: docker is not found!"
|
|
|
|
"echo" "-e" "Error: docker is not found!"
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
check=$(docker info)
|
|
|
|
|
|
|
|
if [ "$check" == *Is the docker daemon running* ]; then
|
|
|
|
|
|
|
|
"echo" "-e" "Error: docker is not running!"
|
|
|
|
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if [ "$3" != "" ]; then
|
|
|
|
if [ "$3" != "" ]; then
|
|
|
|
port="$3"
|
|
|
|
port="$3"
|
|
|
|