Skip to content

Commit

Permalink
Update src/docker-in-docker/install.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Samruddhi Khandale <[email protected]>
  • Loading branch information
gauravsaini04 and samruddhikhandale authored Sep 11, 2024
1 parent 0a5d389 commit e181e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docker-in-docker/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e181e20

Please sign in to comment.