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.

Update version and add check for Docker installed via snap

Andras Bacsaia6669ed87634
diff --git a/scripts/install.sh b/scripts/install.sh
index 79e71596a7..ad2a8de22d 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -6,7 +6,7 @@ set -e # Exit immediately if a command exits with a non-zero status
#set -u # Treat unset variables as an error and exit
set -o pipefail # Cause a pipeline to return the status of the last command that exited with a non-zero status
-VERSION="1.2.2"
+VERSION="1.2.3"
DOCKER_VERSION="24.0"
CDN="https://cdn.coollabs.io/coolify"
@@ -122,6 +122,16 @@ if [ "$SSH_PERMIT_ROOT_LOGIN" != "true" ]; then
echo "###############################################################################"
fi
+# Detect if docker is installed via snap
+if [ -x "$(command -v snap)" ]; then
+ if snap list | grep -q docker; then
+ echo "Docker is installed via snap."
+ echo "Please note that Coolify does not support Docker installed via snap."
+ echo "Please remove Docker with snap (snap remove docker) and reexecute this script."
+ exit 1
+ fi
+fi
+
if ! [ -x "$(command -v docker)" ]; then
if [ "$OS_TYPE" == 'almalinux' ]; then
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo