mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 14:23:22 +08:00
install.sh - check docker is running
This commit is contained in:
@@ -209,6 +209,13 @@ if (type == "local") {
|
||||
bash("exit 1");
|
||||
}
|
||||
|
||||
bash("check=$(docker info)");
|
||||
|
||||
if (check == bash("*Is the docker daemon running*")) {
|
||||
println("Error: docker is not running!");
|
||||
bash("exit 1");
|
||||
}
|
||||
|
||||
if ("$3" != "") {
|
||||
port = "$3";
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user