Skip to content

Commit

Permalink
Check if docker installation was successful
Browse files Browse the repository at this point in the history
  • Loading branch information
krsilas authored Nov 1, 2023
1 parent 25f80ab commit 4feb99c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ apt install -y curl wget git jq jc >/dev/null 2>&1
if ! [ -x "$(command -v docker)" ]; then
echo "Docker is not installed. Installing Docker..."
curl https://releases.rancher.com/install-docker/${DOCKER_VERSION}.sh | sh
echo "Docker installed successfully"
if [ -x "$(command -v docker)" ]; then
echo "Docker installed successfully."
else
echo "Docker installation failed."
exit 1
fi
echo -e "-------------"
echo -e "Check Docker Configuration..."
Expand Down

0 comments on commit 4feb99c

Please sign in to comment.