docker: Add kernel-module-xt-nat to RRECOMMENDS
PATCH 1/1 docker: Add kernel-module-xt-nat to RRECOMMENDS
Fixed when kernel-module-xt-nat is not installed:
$ docker run --rm -it -p 80:80 alpine
docker: Error response from daemon: driver failed programming external connectivity on endpoint elated_cori Try `iptables -h' or 'iptables --help' for more information.
(exit status 2)).
--- recipes-containers/docker/docker.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
recipes-containers/docker/docker.inc +7 -1
@@ -29,7 +29,13 @@ 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 kernel-module-nf-conntrack-netlink kernel-module-xt-addrtype kernel-module-xt-masquerade" +RRECOMMENDS:${PN} = "kernel-module-dm-thin-pool \ + kernel-module-nf-nat \ + kernel-module-nf-conntrack-netlink \ + kernel-module-xt-addrtype \ + kernel-module-xt-masquerade \ + kernel-module-xt-nat \ + " PROVIDES += "virtual/docker"
Signature · 1 line
2.17.1
Quoted 8 lines · Robert Yang
Fixed when kernel-module-xt-nat is not installed:
$ docker run --rm -it -p 80:80 alpinedocker: Error response from daemon: driver failed programming external connectivity on endpoint
elated_coriTry `iptables -h' or 'iptables --help' for more information.
(exit status 2)).
There's already a pending patch for similar changes, I'm still working through the unification of the meta-virt fragments and the kernel-cache fragments, so I'm not doing any of the RRECOMMENDS changes at the moment, until I have that unified.
Since we can recommend all we want, but it can't fix a bad configuration, and that's the issue.
Bruce
Quoted 25 lines
Signed-off-by Robert Yang <[email protected]>--- recipes-containers/docker/docker.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)recipes-containers/docker/docker.inc +7
-2@@ -29,7 +29,13 @@ 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 kernel-module-nf-conntrack-netlink kernel-module-xt-addrtype kernel-module-xt-masquerade" +RRECOMMENDS:${PN} = "kernel-module-dm-thin-pool \ + kernel-module-nf-nat \ + kernel-module-nf-conntrack-netlink \ + kernel-module-xt-addrtype \ + kernel-module-xt-masquerade \ + kernel-module-xt-nat \ + " PROVIDES += "virtual/docker" --
Quoted 2 lines
2.17.1
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
Hi Bruce,
Quoted 10 lines · Bruce Ashfield
Quoted 8 lines · Robert Yang
Fixed when kernel-module-xt-nat is not installed:
$ docker run --rm -it -p 80:80 alpinedocker: Error response from daemon: driver failed programming external connectivity on endpoint
elated_coriTry `iptables -h' or 'iptables --help' for more information.
(exit status 2)).
Quoted 7 lines
There's already a pending patch for similar changes, I'm still working through the unification of the meta-virt fragments and the kernel-cache fragments, so I'm not doing any of the RRECOMMENDS changes at the moment, until I have that unified.
Since we can recommend all we want, but it can't fix a bad configuration, and that's the issue.
Yes, makes sense, do you have a clue on how to figure out all of them, please?
// Robert
Quoted 37 lines
Bruce
Quoted 25 lines
Signed-off-by Robert Yang <[email protected]>--- recipes-containers/docker/docker.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)recipes-containers/docker/docker.inc +7
-2@@ -29,7 +29,13 @@ 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 kernel-module-nf-conntrack-netlink kernel-module-xt-addrtype kernel-module-xt-masquerade" +RRECOMMENDS:${PN} = "kernel-module-dm-thin-pool \ + kernel-module-nf-nat \ + kernel-module-nf-conntrack-netlink \ + kernel-module-xt-addrtype \ + kernel-module-xt-masquerade \ + kernel-module-xt-nat \ + " PROVIDES += "virtual/docker" --Quoted 2 lines
2.17.1
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
Quoted 19 lines · Robert Yang
Hi Bruce,
Quoted 15 lines · Bruce Ashfield
Quoted 8 lines · Robert Yang
Fixed when kernel-module-xt-nat is not installed:
$ docker run --rm -it -p 80:80 alpinedocker: Error response from daemon: driver failed programming external connectivity on endpoint
elated_coriTry `iptables -h' or 'iptables --help' for more information.
(exit status 2)).There's already a pending patch for similar changes, I'm still working through the unification of the meta-virt fragments and the kernel-cache fragments, so I'm not doing any of the RRECOMMENDS changes at the moment, until I have that unified.
Quoted 4 lines
Quoted 2 lines
Since we can recommend all we want, but it can't fix a bad configuration, and that's the issue.
Yes, makes sense, do you have a clue on how to figure out all of them, please?
This is something that I'm working on in cooperation with the external kernel-cache recipe/tool that I have in meta-virt.
Your change is correct, I'm just going to let it sit on my queue for a bit, while I work through the rest of the changes with respect to getting the right configuration across a range of kernels and having the ability to check for the fragments (versus the final .config, since we don't want to start checking for individual options after the kernel configuration runs).
Bruce
Quoted 40 lines
// Robert
Quoted 37 lines
Bruce
Quoted 25 lines
Signed-off-by Robert Yang <[email protected]>--- recipes-containers/docker/docker.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)recipes-containers/docker/docker.inc +7
-2@@ -29,7 +29,13 @@ 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 kernel-module-nf-conntrack-netlink kernel-module-xt-addrtype kernel-module-xt-masquerade" +RRECOMMENDS:${PN} = "kernel-module-dm-thin-pool \ + kernel-module-nf-nat \ + kernel-module-nf-conntrack-netlink \ + kernel-module-xt-addrtype \ + kernel-module-xt-masquerade \ + kernel-module-xt-nat \ + " PROVIDES += "virtual/docker" --Quoted 2 lines
2.17.1
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
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