Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Check if docker installation was successful

Silas Krause4feb99cbe00c
diff --git a/scripts/install.sh b/scripts/install.sh
index 0d759681a0..f25e628906 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -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..."