We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 497759c commit 7b96408Copy full SHA for 7b96408
install/check-minimum-requirements.sh
@@ -3,7 +3,8 @@ echo "${_group}Checking minimum requirements ..."
3
source "$(dirname $0)/_min-requirements.sh"
4
5
DOCKER_VERSION=$(docker version --format '{{.Server.Version}}')
6
-COMPOSE_VERSION=$($dc --version | sed 's/docker-compose version \(.\{1,\}\),.*/\1/')
+# Do NOT use $dc instead of `docker-compose` below as older versions don't support certain options and fail
7
+COMPOSE_VERSION=$(docker-compose --version | sed 's/docker-compose version \(.\{1,\}\),.*/\1/')
8
RAM_AVAILABLE_IN_DOCKER=$(docker run --rm busybox free -m 2>/dev/null | awk '/Mem/ {print $2}');
9
CPU_AVAILABLE_IN_DOCKER=$(docker run --rm busybox nproc --all);
10
0 commit comments