diff --git a/scripts/install-sysdig.in b/scripts/install-sysdig.in index a42059f2ad..d2afc9b02a 100644 --- a/scripts/install-sysdig.in +++ b/scripts/install-sysdig.in @@ -97,10 +97,16 @@ fi echo "* Detecting operating system" ARCH=$(uname -m) -if [[ ! $ARCH = *86 ]] && [ ! $ARCH = "x86_64" ]; then +if [[ ! $ARCH = *86 ]] && [ ! $ARCH = "x86_64" ] && [ ! $ARCH = "s390x" ]; then unsupported fi +if [ $ARCH = "s390x" ]; then + echo "------------" + echo "WARNING: A Docker container is the only officially supported platform on s390x" + echo "------------" +fi + if [ -f /etc/debian_version ]; then if [ -f /etc/lsb-release ]; then . /etc/lsb-release