mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-28 20:54:52 +02:00
installation: Check docker runnin status before installing reNgine
This commit is contained in:
committed by
Yogesh Ojha
parent
4867bd553d
commit
bcac3e6c82
+15
@@ -75,6 +75,21 @@ else
|
||||
apt install make
|
||||
fi
|
||||
|
||||
echo " "
|
||||
tput setaf 4;
|
||||
echo "#########################################################################"
|
||||
echo "Checking Docker status"
|
||||
echo "#########################################################################"
|
||||
if docker info >/dev/null 2>&1; then
|
||||
tput setaf 4;
|
||||
echo "Docker is running."
|
||||
else
|
||||
tput setaf 1;
|
||||
echo "Docker is not running. Please run docker and try again."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
|
||||
echo " "
|
||||
tput setaf 4;
|
||||
|
||||
Reference in New Issue
Block a user