Skip to content

Commit 4c2674d

Browse files
committed
Remove ip_tables in favor of nf_tables in dockerd entrypoint fallback
1 parent 07fb6c2 commit 4c2674d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎24/dind/dockerd-entrypoint.sh‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎25-rc/dind/dockerd-entrypoint.sh‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dockerd-entrypoint.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ if [ "$1" = 'dockerd' ]; then
147147
# if iptables fails to run, chances are high the necessary kernel modules aren't loaded (perhaps the host is using nftables with the translating "iptables" wrappers, for example)
148148
# https://github.com/docker-library/docker/issues/350
149149
# https://github.com/moby/moby/issues/26824
150-
modprobe ip_tables || :
150+
# https://github.com/docker-library/docker/pull/437#issuecomment-1854900620
151151
modprobe nf_tables || :
152152
fi
153153

0 commit comments

Comments
 (0)