docker.inc: Add xt-addrtype kernel module
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 docker.inc: Add xt-addrtype kernel module
From 585f3e4a1da40528b2d8eba0bf46033fdf5e310d Mon Sep 17 00:00:00 2001
From: Norbert Kaminski <[email protected]>
Date: Fri, 22 Nov 2019 11:27:18 +0100
Subject: [PATCH] docker.inc: Add xt-addrtype kernel module
Trying to use docker info and hello world container without this module causes a daemon error.
docker info error log:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
dockerd error log:
PREROUTING chain: iptables failed: iptables --wait -t nat -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER: iptables v1.8.3 (legacy): Couldn't load match `addrtype':No such file or directory
---
recipes-containers/docker/docker.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/docker/docker.inc +0 -0
@@ -29,7 +29,7 @@ RDEPENDS_${PN} = "util-linux util-linux-unshare iptables \
"
RDEPENDS_${PN} += "virtual/containerd virtual/runc"
-RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat" +RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat kernel-module-xt-addrtype"
PROVIDES += "virtual/docker"
Signature · 1 line
2.17.1
Quoted 11 lines · Norbert Kaminski
From
585f3e4a1da40528b2d8eba0bf46033fdf5e310dMon Sep 17 00:00:00 2001
From: Norbert Kaminski <[email protected]>
Date: Fri, 22 Nov 2019 11:27:18 +0100
Subject: [PATCH] docker.inc: Add xt-addrtype kernel moduleTrying to use docker info and hello world container without this module causes a daemon error.
docker info error log:
Quoted 8 lines
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
dockerd error log:
PREROUTING chain: iptables failed: iptables --wait -t nat -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER: iptables v1.8.3 (legacy): Couldn't load match `addrtype':No such file or directory
I guess most of us are running with "kernel-modules" in our packagegroups/image installs and haven't noticed this.
I'm ok with the change, but something has corrupted your patch. How was it sent ?
Bruce
Quoted 32 lines
Signed-off-by Norbert Kaminski <[email protected]>--- recipes-containers/docker/docker.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-containers/docker/docker.inc +1
-1@@ -29,7 +29,7 @@ RDEPENDS_${PN} = "util-linux util-linux-unshare iptables \ " RDEPENDS_${PN} += "virtual/containerd virtual/runc" -RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat" +RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-natkernel-module-xt-addrtype"
PROVIDES += "virtual/docker"
--
2.17.1-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.View/Reply Online (#4734): https://lists.yoctoproject.org/g/meta-virtualization/message/4734
Mute This Topic: https://lists.yoctoproject.org/mt/61663735/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
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