File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,19 +91,6 @@ if [ -n "$DOCKER_ROOTLESS" ]; then
9191 )
9292fi
9393
94- # On a host using nftables, the ip6_tables kernel module may need to be loaded.
95- # This trick is borrowed from the docker (dind) official image ...
96- # "modprobe" without modprobe
97- # https://twitter.com/lucabruno/status/902934379835662336
98- # This isn't 100% fool-proof, but it'll have a much higher success rate than
99- # simply using the "real" modprobe (which isn't installed in the dev container).
100- if ! ip6tables -nL > /dev/null 2>&1 ; then
101- ip link show ip6_tables > /dev/null 2>&1 || true
102- if ! ip6tables -nL > /dev/null 2>&1 ; then
103- echo >&2 ' ip6tables is not available'
104- fi
105- fi
106-
10794set -x
10895# shellcheck disable=SC2086
10996exec " ${dockerd[@]} " " ${args[@]} "
You can’t perform that action at this time.
0 commit comments