From e181e20a3a7d3228959016c1e0ba3cb8e5696e98 Mon Sep 17 00:00:00 2001 From: Gaurav Saini <147703805+gauravsaini04@users.noreply.github.com> Date: Wed, 11 Sep 2024 11:24:21 +0530 Subject: [PATCH] Update src/docker-in-docker/install.sh Co-authored-by: Samruddhi Khandale --- src/docker-in-docker/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docker-in-docker/install.sh b/src/docker-in-docker/install.sh index 88dbf01f5..c4c098ba8 100755 --- a/src/docker-in-docker/install.sh +++ b/src/docker-in-docker/install.sh @@ -480,7 +480,7 @@ if [ "$DISABLE_IP6_TABLES" == true ]; then elif echo "$DOCKER_VERSION" | grep -Eq "^[1-9][0-9]*$"; then requested_version=$DOCKER_VERSION fi - if [[ -n "$requested_version" && "$requested_version" -ge 27 ]] || [ "$DOCKER_VERSION" = "latest" ]; then + if [ "$DOCKER_VERSION" = "latest" ] || [[ -n "$requested_version" && "$requested_version" -ge 27 ]] ; then DOCKER_DEFAULT_IP6_TABLES="--ip6tables=false" echo "(!) As requested, passing '${DOCKER_DEFAULT_IP6_TABLES}'" fi