aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNorbert Kaminski <norbert.kaminski@3mdeb.com>2019-11-28 20:59:52 +0100
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-12-01 23:11:39 -0500
commit8860257250e85fd6c963bebc0f9004bbd0b27a0b (patch)
tree4f72e3affd61dc3970f974c5b65a9cda80562ce6
parent00cc8afd1e80e73f1205691c4ce440498b52eba5 (diff)
downloadmeta-virtualization-8860257250e85fd6c963bebc0f9004bbd0b27a0b.tar.gz
meta-virtualization-8860257250e85fd6c963bebc0f9004bbd0b27a0b.tar.bz2
meta-virtualization-8860257250e85fd6c963bebc0f9004bbd0b27a0b.zip
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 Signed-off-by: Norbert Kaminski <norbert.kaminski@3mdeb.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-containers/docker/docker.inc2
1 files changed, 1 insertions, 1 deletions
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"