Ubuntu kernel 4.15.0-60-generic seems to be broken with Docker and --dns flags, do NOT use it!
parent
dc6eea5142
commit
3cae2389a0
|
@ -2,6 +2,12 @@
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
if [[ "$(uname -r)" =~ ^4\.15\.0-60 ]]; then
|
||||||
|
echo "DO NOT RUN mailcow ON THIS UBUNTU KERNEL!";
|
||||||
|
echo "Please update to 5.x or use another distribution."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if grep --help 2>&1 | grep -q -i "busybox"; then
|
if grep --help 2>&1 | grep -q -i "busybox"; then
|
||||||
echo "BusybBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\""
|
echo "BusybBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\""
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -6,6 +6,12 @@ if [ "$(id -u)" -ne "0" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$(uname -r)" =~ ^4\.15\.0-60 ]]; then
|
||||||
|
echo "DO NOT RUN mailcow ON THIS UBUNTU KERNEL!";
|
||||||
|
echo "Please update to 5.x or use another distribution."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Exit on error and pipefail
|
# Exit on error and pipefail
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue