All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [meta-virtualization][PATCH] docker.inc: Add xt-addrtype kernel module
@ 2019-11-28 19:59 Norbert Kaminski
  2019-12-02  4:12 ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: Norbert Kaminski @ 2019-11-28 19:59 UTC (permalink / raw)
  To: meta-virtualization, bruce.ashfield
  Cc: piotr.krol, maciej.pijanowski, Norbert Kaminski

From: Norbert Kaminski <norbert.kaminski@3mdeb.com>

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

Signed-off-by: Norbert Kaminski <norbert.kaminski@3mdeb.com>

---
 recipes-containers/docker/docker.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc
index 0083902..32d4a2e 100644
--- a/recipes-containers/docker/docker.inc
+++ b/recipes-containers/docker/docker.inc
@@ -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"
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread
[parent not found: <2ed2e82f-ad3e-a61b-0511-69c47eb8cce2@3mdeb.com>]

end of thread, other threads:[~2019-12-02  4:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-28 19:59 [meta-virtualization][PATCH] docker.inc: Add xt-addrtype kernel module Norbert Kaminski
2019-12-02  4:12 ` Bruce Ashfield
     [not found] <2ed2e82f-ad3e-a61b-0511-69c47eb8cce2@3mdeb.com>
2019-11-22 14:16 ` [meta-virtualization] [PATCH] " Norbert Kaminski
2019-11-25 21:15   ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.