Add a test to check if running a old version of docker

Signed-off-by: LizenzFass78851 <82592556+LizenzFass78851@users.noreply.github.com>
This commit is contained in:
LizenzFass78851
2025-03-24 19:58:59 +01:00
committed by GitHub
parent 52c35101fe
commit 0d241ef7a8

View File

@@ -1,5 +1,10 @@
#!/bin/bash
if [ ! -x /bin/sh ]; then
echo "Executable test for /bin/sh failed. Your Docker version is too old to run Alpine 3.14+ and Pi-hole. You must upgrade Docker.";
exit 1;
fi
if [ "${PH_VERBOSE:-0}" -gt 0 ]; then
set -x
fi