Skip to content

Commit

Permalink
Remove ip_tables in favor of nf_tables in dockerd entrypoint fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoordsij committed Dec 14, 2023
1 parent 07fb6c2 commit 4c2674d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 24/dind/dockerd-entrypoint.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 25-rc/dind/dockerd-entrypoint.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dockerd-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ if [ "$1" = 'dockerd' ]; then
# 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)
# https://github.com/docker-library/docker/issues/350
# https://github.com/moby/moby/issues/26824
modprobe ip_tables || :
# https://github.com/docker-library/docker/pull/437#issuecomment-1854900620
modprobe nf_tables || :
fi

Expand Down

0 comments on commit 4c2674d

Please sign in to comment.