From b71b7170a3d0499a64edf98041e16301936c2434 Mon Sep 17 00:00:00 2001 From: m-1-k-3 Date: Tue, 12 Dec 2023 20:32:39 +0100 Subject: [PATCH] true the docker --- installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.sh b/installer.sh index 7173a0e00..c7e433b26 100755 --- a/installer.sh +++ b/installer.sh @@ -296,7 +296,7 @@ if [[ $(version "${DOCKER_COMP_VER}") -lt $(version "1.28.5") ]]; then fi # check pip3 docker version TODO move into pipenv -DOCKER_VER=$(pip3 show docker | grep Version: | awk '{print $2}') +DOCKER_VER=$(pip3 show docker | grep Version: | awk '{print $2}' || true) if [[ $(version "${DOCKER_VER}") -ge $(version "7.0.0") ]]; then echo -e "\n${ORANGE}WARNING: compatibility of the used docker version is unknown!${NC}" echo -e "\n${ORANGE}Please consider downgrading your pip3 docker version. \$pip3 install \"docker<7.0.0\"${NC}"