diff options
author | Koen Kooi <koen.kooi@oss.qualcomm.com> | 2025-07-02 09:03:27 +0200 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-07-31 13:44:59 -0400 |
commit | f707bbe323261f41f69267708d6751c1bb0edd0b (patch) | |
tree | 8de31d0afdf2f425908abf6106732f2192606a86 | |
parent | 135bf45c7405a194820f4dfd5c44ce08c4a72d66 (diff) | |
download | meta-virtualization-f707bbe323261f41f69267708d6751c1bb0edd0b.tar.gz |
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 <koen.kooi@oss.qualcomm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-containers/docker/docker.inc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc index 1567cdfe..94ee34db 100644 --- a/recipes-containers/docker/docker.inc +++ b/recipes-containers/docker/docker.inc | |||
@@ -14,7 +14,18 @@ RDEPENDS:${PN} = "util-linux util-linux-unshare iptables \ | |||
14 | " | 14 | " |
15 | RDEPENDS:${PN} += "virtual-containerd ${VIRTUAL-RUNTIME_container_runtime}" | 15 | RDEPENDS:${PN} += "virtual-containerd ${VIRTUAL-RUNTIME_container_runtime}" |
16 | 16 | ||
17 | RRECOMMENDS:${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat kernel-module-nf-conntrack-netlink kernel-module-xt-addrtype kernel-module-xt-masquerade" | 17 | RRECOMMENDS:${PN} = "kernel-module-dm-thin-pool \ |
18 | kernel-module-nf-conntrack \ | ||
19 | kernel-module-nf-conntrack-netlink \ | ||
20 | kernel-module-nf-nat \ | ||
21 | kernel-module-nfnetlink \ | ||
22 | kernel-module-overlay \ | ||
23 | kernel-module-veth \ | ||
24 | kernel-module-x-tables \ | ||
25 | kernel-module-xt-addrtype \ | ||
26 | kernel-module-xt-conntrack \ | ||
27 | kernel-module-xt-masquerade \ | ||
28 | " | ||
18 | 29 | ||
19 | PROVIDES += "virtual/docker" | 30 | PROVIDES += "virtual/docker" |
20 | 31 | ||