Docker: add more required kernel modules as RRECOMMENDS:${PN}
PATCH v2 1/1 Docker: add more required kernel modules as RRECOMMENDS:${PN}
With a very minimal image recipe that just pulls in docker, the daemon won't start due to missing modules, so add the missing ones.
The list of new modules was created by diffing the output of lsmod before installing all kernel-modules and the output after launching docker with all modules installed.
Signed-off-by Koen Kooi <[email protected]>
---
Changes since v1:
* Add kernel-module-veth, the docker daemon starts up just fine with the v1 patch, but launching an actual container fails due to missing veth.ko.
recipes-containers/docker/docker.inc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
recipes-containers/docker/docker.inc +12 -1
@@ -14,7 +14,18 @@ RDEPENDS:${PN} = "util-linux util-linux-unshare iptables \ " RDEPENDS:${PN} += "virtual-containerd ${VIRTUAL-RUNTIME_container_runtime}" -RRECOMMENDS:${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat kernel-module-nf-conntrack-netlink kernel-module-xt-addrtype kernel-module-xt-masquerade" +RRECOMMENDS:${PN} = "kernel-module-dm-thin-pool \ + kernel-module-nf-conntrack \ + kernel-module-nf-conntrack-netlink \ + kernel-module-nf-nat \ + kernel-module-nfnetlink \ + kernel-module-overlay \ + kernel-module-veth \ + kernel-module-x-tables \ + kernel-module-xt-addrtype \ + kernel-module-xt-conntrack \ + kernel-module-xt-masquerade \ + " PROVIDES += "virtual/docker"
Signature · 1 line
2.48.1