Skip to contentSkip to conversation

docker: add netfilter configuration fragments

PATCH In review [email protected] 2 participants 2 messages Nov 4, 2021 – Nov 8, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docker: add netfilter configuration fragments

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

---
 recipes-kernel/linux/linux-yocto/docker.cfg | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-kernel/linux/linux-yocto/docker.cfg +3 -1
index 79012a6..9378266 100644
@@ -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
 
Signature · 1 line
2.30.1 (Apple Git-130)
#1 lore raw

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

Quoted 31 lines · Benjamin Mordaunt

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

---
 recipes-kernel/linux/linux-yocto/docker.cfg | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-kernel/linux/linux-yocto/docker.cfg +3 -2
index 79012a6..9378266 100644
@@ -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)

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