* 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
* Re: [meta-virtualization][PATCH] docker.inc: Add xt-addrtype kernel module
2019-11-28 19:59 [meta-virtualization][PATCH] docker.inc: Add xt-addrtype kernel module Norbert Kaminski
@ 2019-12-02 4:12 ` Bruce Ashfield
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2019-12-02 4:12 UTC (permalink / raw)
To: nkaminski; +Cc: meta-virtualization, piotr.krol, maciej.pijanowski
Thanks!
This version applied and is now merged.
Bruce
In message: Re: [meta-virtualization][PATCH] docker.inc: Add xt-addrtype kernel module
on 28/11/2019 nkaminski wrote:
> 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 [flat|nested] 4+ messages in thread
* Re: [meta-virtualization] [PATCH] docker.inc: Add xt-addrtype kernel module
2019-11-22 14:16 ` [meta-virtualization] [PATCH] " Norbert Kaminski
@ 2019-11-25 21:15 ` Bruce Ashfield
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2019-11-25 21:15 UTC (permalink / raw)
To: Norbert Kaminski; +Cc: meta-virtualization, piotr.krol, Maciej Pijanowski
On Fri, Nov 22, 2019 at 9:36 AM Norbert Kaminski
<norbert.kaminski@3mdeb.com> wrote:
>
> From 585f3e4a1da40528b2d8eba0bf46033fdf5e310d Mon Sep 17 00:00:00 2001
> From: Norbert Kaminski <norbert.kaminski@3mdeb.com>
> Date: Fri, 22 Nov 2019 11:27:18 +0100
> Subject: [PATCH] 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
I guess most of us are running with "kernel-modules" in our packagegroups/image
installs and haven't noticed this.
I'm ok with the change, but something has corrupted your patch. How
was it sent ?
Bruce
>
> 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
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#4734): https://lists.yoctoproject.org/g/meta-virtualization/message/4734
> Mute This Topic: https://lists.yoctoproject.org/mt/61663735/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
^ permalink raw reply [flat|nested] 4+ messages in thread
* [meta-virtualization] [PATCH] docker.inc: Add xt-addrtype kernel module
[not found] <2ed2e82f-ad3e-a61b-0511-69c47eb8cce2@3mdeb.com>
@ 2019-11-22 14:16 ` Norbert Kaminski
2019-11-25 21:15 ` Bruce Ashfield
0 siblings, 1 reply; 4+ messages in thread
From: Norbert Kaminski @ 2019-11-22 14:16 UTC (permalink / raw)
To: meta-virtualization; +Cc: piotr.krol, Maciej Pijanowski
From 585f3e4a1da40528b2d8eba0bf46033fdf5e310d Mon Sep 17 00:00:00 2001
From: Norbert Kaminski <norbert.kaminski@3mdeb.com>
Date: Fri, 22 Nov 2019 11:27:18 +0100
Subject: [PATCH] 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>
---
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
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.