Re: [PATCH] docker: add netfilter configuration fragments


Bruce Ashfield
 

I'm currently unifying the fragments into the central kernel
repository, so I've grabbed this and will make sure it is represented
in that sync.

Bruce

On Thu, Nov 4, 2021 at 6:10 PM Benjamin Mordaunt
<crawford.benjamin15@...> wrote:

The docker.cfg file is missing a few netfilter
module requirements. Without these, it is possible
for networking and bridge initialization to fail.

Signed-off-by: Benjamin Mordaunt <crawford.benjamin15@...>
---
recipes-kernel/linux/linux-yocto/docker.cfg | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-yocto/docker.cfg b/recipes-kernel/linux/linux-yocto/docker.cfg
index 79012a6..9378266 100644
--- a/recipes-kernel/linux/linux-yocto/docker.cfg
+++ b/recipes-kernel/linux/linux-yocto/docker.cfg
@@ -5,7 +5,9 @@ CONFIG_NF_CONNTRACK=y

CONFIG_DM_THIN_PROVISIONING=m

-
+CONFIG_NETFILTER_NETLINK=m
+CONFIG_NT_CT_NETLINK=m
+CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_TARGET_MASQUERADE=m

--
2.30.1 (Apple Git-130)




--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

Join meta-virtualization@lists.yoctoproject.org to automatically receive all group messages.