Skip to content

Commit

Permalink
Merge pull request #734 from thebigbone/master
Browse files Browse the repository at this point in the history
check if docker is running on systems without systemd
  • Loading branch information
yogeshojha committed Mar 22, 2023
2 parents fe7e1d3 + d7fde01 commit e3dc06a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install.sh
Expand Up @@ -95,6 +95,9 @@ echo "#########################################################################"
if systemctl is-active docker >/dev/null 2>&1; then
tput setaf 4;
echo "Docker is running."
elif service docker status > /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."
Expand Down

0 comments on commit e3dc06a

Please sign in to comment.