Skip to content

Commit

Permalink
Load nf_tables in preparation of Alpine 3.19
Browse files Browse the repository at this point in the history
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/47102 changes the default iptables backend to nf_tables. To prepare for the change (and to make sure it's not forgotten once DinD is updated), load nf_tables into the kernel.
  • Loading branch information
AaronDewes authored and jnoordsij committed Dec 14, 2023
1 parent d8b20e0 commit 07fb6c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions 24/dind/dockerd-entrypoint.sh

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

1 change: 1 addition & 0 deletions 25-rc/dind/dockerd-entrypoint.sh

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

1 change: 1 addition & 0 deletions dockerd-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ if [ "$1" = 'dockerd' ]; then
# https://github.com/docker-library/docker/issues/350
# https://github.com/moby/moby/issues/26824
modprobe ip_tables || :
modprobe nf_tables || :
fi

uid="$(id -u)"
Expand Down

0 comments on commit 07fb6c2

Please sign in to comment.