mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 07:13:45 +08:00
install.sh - check docker is running
This commit is contained in:
@@ -175,7 +175,7 @@ else
|
||||
exit 1
|
||||
fi
|
||||
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"
|
||||
exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user