mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-25 07:19:35 -05:00
install.sh - check docker is running
This commit is contained in:
parent
575c3ee182
commit
8f5e5ad944
@ -211,7 +211,7 @@ if (type == "local") {
|
|||||||
|
|
||||||
bash("check=$(docker info)");
|
bash("check=$(docker info)");
|
||||||
|
|
||||||
bash("if [[\"$check\" == *\"Is the docker daemon running\"*]]; then
|
bash("if [[ \"$check\" == *\"Is the docker daemon running\"* ]]; then
|
||||||
echo \"Error: docker is not running\"
|
echo \"Error: docker is not running\"
|
||||||
exit 1
|
exit 1
|
||||||
fi");
|
fi");
|
||||||
|
@ -175,7 +175,7 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
check=$(docker info)
|
check=$(docker info)
|
||||||
if [["$check" == *"Is the docker daemon running"*]]; then
|
if [[ "$check" == *"Is the docker daemon running"* ]]; then
|
||||||
echo "Error: docker is not running"
|
echo "Error: docker is not running"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user