Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
shawshanck authored Aug 4, 2023
1 parent 4af60ae commit 2faa277
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ startInstall()


curl -fsSL https://get.docker.com | sh >> ~/docker-script-install.log 2>&1
echo -e "${YELLOW} - docker-ce version is now:${NC}"
echo -e "${YELLOW} - Docker-Ce version is now:${NC}"
DOCKERV=$(docker -v)
echo -e "${YELLOW} ${NC}"${DOCKERV}
echo -e "${NC} ${NC}"${DOCKERV}
sleep 3s

if [[ "$OS" == 2 ]]; then
Expand Down Expand Up @@ -306,7 +306,7 @@ startInstall()

echo ""

echo -e "${GREEN} - Docker Compose Version is now: ${NC}"
echo -e "${YELLOW} - Docker Compose Version is now: ${NC}"
DOCKCOMPV=$(docker-compose --version)
echo " "${DOCKCOMPV}
echo ""
Expand All @@ -319,7 +319,7 @@ startInstall()
##########################################
ISACT=$( (sudo systemctl is-active docker ) 2>&1 )
if [[ "$ISACt" != "active" ]]; then
echo -e "${YELLOW}Giving the Docker service time to start...${NC}"
echo -e "${GRREN}Giving the Docker service time to start...${NC}"
while [[ "$ISACT" != "active" ]] && [[ $X -le 10 ]]; do
sudo systemctl start docker >> ~/docker-script-install.log 2>&1
sleep 10s &
Expand Down

0 comments on commit 2faa277

Please sign in to comment.