All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 1880518] [NEW] issue while installing docker inside s390x container
@ 2020-05-25  7:50 Rajas Kakodkar
  2020-05-25 14:36 ` [Bug 1880518] " Laurent Vivier
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Rajas Kakodkar @ 2020-05-25  7:50 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
enabled
interpreter /usr/bin/qemu-s390x-static
flags: F
offset 0
magic 7f454c4602020100000000000000000000020016
mask ffffffffffffff00fffffffffffffffffffeffff
I could get docker service up with the following trick. 
printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
failed to register layer: Error processing tar file(exit status 1):

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  New

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1880518] Re: issue while installing docker inside s390x container
  2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
@ 2020-05-25 14:36 ` Laurent Vivier
  2020-05-26  7:37 ` Rajas Kakodkar
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Laurent Vivier @ 2020-05-25 14:36 UTC (permalink / raw)
  To: qemu-devel

Without a more detailled error message we can'know what happens.

What I see is you don't have the 'OC' flags that should help to execute
binaries with (s) bit.

You should also report the version of qemu.

** Tags added: linux-user

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  New

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1880518] Re: issue while installing docker inside s390x container
  2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
  2020-05-25 14:36 ` [Bug 1880518] " Laurent Vivier
@ 2020-05-26  7:37 ` Rajas Kakodkar
  2021-03-16 11:50 ` Nayana
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Rajas Kakodkar @ 2020-05-26  7:37 UTC (permalink / raw)
  To: qemu-devel

The error message that I posted above is all that I see when I go to pull and image.
Following is the log from docker daemon

time="2020-05-26T07:34:31.385796553Z" level=info msg="API listen on /var/run/docker.sock"
time="2020-05-26T07:34:34.607431981Z" level=debug msg="Calling GET /_ping"
time="2020-05-26T07:34:34.635096021Z" level=debug msg="Calling GET /v1.38/containers/json"
time="2020-05-26T07:34:43.919894850Z" level=debug msg="Calling GET /_ping"
time="2020-05-26T07:34:43.963634642Z" level=debug msg="Calling GET /v1.38/info"
time="2020-05-26T07:34:44.702451808Z" level=debug msg="Calling POST /v1.38/images/create?fromImage=hello-world&tag=latest"
time="2020-05-26T07:34:44.715857621Z" level=debug msg="Trying to pull hello-world from https://registry-1.docker.io v2"
time="2020-05-26T07:34:46.805807639Z" level=debug msg="Pulling ref from V2 registry: hello-world:latest"
time="2020-05-26T07:34:46.806872106Z" level=debug msg="docker.io/library/hello-world:latest resolved to a manifestList object with 9 entries; looking for a unknown/s390x match"
time="2020-05-26T07:34:46.808815074Z" level=debug msg="found match for linux/s390x with media type application/vnd.docker.distribution.manifest.v2+json, digest sha256:e49abad529e5d9bd6787f3abeab94e09ba274fe34731349556a850b9aebbf7bf"
time="2020-05-26T07:34:47.233545931Z" level=debug msg="pulling blob \"sha256:3c80930bfdd5b53b7ca2a6b8116ed9a273af43a6b2dd13e81e82aae7521be469\""
time="2020-05-26T07:34:47.864739182Z" level=debug msg="Downloaded 3c80930bfdd5 to tempfile /var/lib/docker/tmp/GetImageBlob114078888"
time="2020-05-26T07:34:48.038875327Z" level=debug msg="Cleaning up layer b3da5d545c61d65059a2190feb19ae13797338ee999542b615e93e9708b88507: Error processing tar file(exit status 1): "
time="2020-05-26T07:34:48.049928529Z" level=info msg="Attempting next endpoint for pull after error: failed to register layer: Error processing tar file(exit status 1): "

Since I am using multiarch/qemu-user-static with the latest tag, qemu
version is 4.2.0-6.

docker in docker works flawlessly on native s390x host. I am facing this
issue only with qemu. Are there any other steps to follow to make docker
in docker work under qemu?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  New

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1880518] Re: issue while installing docker inside s390x container
  2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
  2020-05-25 14:36 ` [Bug 1880518] " Laurent Vivier
  2020-05-26  7:37 ` Rajas Kakodkar
@ 2021-03-16 11:50 ` Nayana
  2021-03-16 12:00 ` Nayana
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Nayana @ 2021-03-16 11:50 UTC (permalink / raw)
  To: qemu-devel

Any pointers about this issue? Any other steps needs to be followed to
resolve the issue?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  New

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1880518] Re: issue while installing docker inside s390x container
  2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
                   ` (2 preceding siblings ...)
  2021-03-16 11:50 ` Nayana
@ 2021-03-16 12:00 ` Nayana
  2021-03-17 16:15 ` Thomas Huth
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Nayana @ 2021-03-16 12:00 UTC (permalink / raw)
  To: qemu-devel

Also same issue observed with docker version 19.03. docker pull command
failing with an error "failed to register layer: Error processing tar
file(exit status 1):"

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  New

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1880518] Re: issue while installing docker inside s390x container
  2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
                   ` (3 preceding siblings ...)
  2021-03-16 12:00 ` Nayana
@ 2021-03-17 16:15 ` Thomas Huth
  2021-03-18  9:28 ` Nayana
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Thomas Huth @ 2021-03-17 16:15 UTC (permalink / raw)
  To: qemu-devel

QEMU 4.2 is quite old already, can you also reproduce the issue with the
latest version of QEMU (v5.2 ... or maybe even with the 6.0-rc1 that
should get released next week)?

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  Incomplete

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1880518] Re: issue while installing docker inside s390x container
  2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
                   ` (4 preceding siblings ...)
  2021-03-17 16:15 ` Thomas Huth
@ 2021-03-18  9:28 ` Nayana
  2021-03-18 10:59 ` Nayana
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Nayana @ 2021-03-18  9:28 UTC (permalink / raw)
  To: qemu-devel

Yes we have observed the issue with multiarch/qemu-user-static image
v5.2.0-1 and 5.2.0-2

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  Incomplete

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1880518] Re: issue while installing docker inside s390x container
  2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
                   ` (5 preceding siblings ...)
  2021-03-18  9:28 ` Nayana
@ 2021-03-18 10:59 ` Nayana
  2021-03-19  6:54 ` Thomas Huth
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Nayana @ 2021-03-18 10:59 UTC (permalink / raw)
  To: qemu-devel

docker not starting inside s390x container. Log shows:

Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables v1.6.1: can't initialize iptables table `nat': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
 (exit status 3)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  Incomplete

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1880518] Re: issue while installing docker inside s390x container
  2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
                   ` (6 preceding siblings ...)
  2021-03-18 10:59 ` Nayana
@ 2021-03-19  6:54 ` Thomas Huth
  2021-03-23 10:53 ` Nayana
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Thomas Huth @ 2021-03-19  6:54 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  New

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1880518] Re: issue while installing docker inside s390x container
  2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
                   ` (7 preceding siblings ...)
  2021-03-19  6:54 ` Thomas Huth
@ 2021-03-23 10:53 ` Nayana
  2021-04-01 12:00 ` Nayana
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Nayana @ 2021-03-23 10:53 UTC (permalink / raw)
  To: qemu-devel

As we are facing issue with service docker start ( for docker in docker
s390x container under qemu)

time="2021-03-23T07:29:07.645278866Z" level=warning msg="Running modprobe nf_nat failed with message: ``, error: exec: \"modprobe\": executable file not found in $PATH"
time="2021-03-23T07:29:07.645535879Z" level=warning msg="Running modprobe xt_conntrack failed with message: ``, error: exec: \"modprobe\": executable file not found in $PATH"
Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables v1.6.1: can't initialize iptables table `nat': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
 (exit status 3)

Does it mean that qemu doesn't support/have enabled related modules?
modprobe?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  New

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1880518] Re: issue while installing docker inside s390x container
  2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
                   ` (8 preceding siblings ...)
  2021-03-23 10:53 ` Nayana
@ 2021-04-01 12:00 ` Nayana
  2021-04-01 15:21 ` Laurent Vivier
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Nayana @ 2021-04-01 12:00 UTC (permalink / raw)
  To: qemu-devel

Could you please let me know if my understanding is correct? Qemu
doesn't support/have enabled related modules? modprobe?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  New

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1880518] Re: issue while installing docker inside s390x container
  2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
                   ` (9 preceding siblings ...)
  2021-04-01 12:00 ` Nayana
@ 2021-04-01 15:21 ` Laurent Vivier
  2021-04-23  7:27 ` Nayana
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: Laurent Vivier @ 2021-04-01 15:21 UTC (permalink / raw)
  To: qemu-devel

insmod/modprobe inside the container cannot load the modules because
they are the one for the target architecture while the kernel is the one
of the host. If you need functionalities in the container provided by
some modules you need to load these modules using modprobe/insmod on the
host.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  New

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1880518] Re: issue while installing docker inside s390x container
  2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
                   ` (10 preceding siblings ...)
  2021-04-01 15:21 ` Laurent Vivier
@ 2021-04-23  7:27 ` Nayana
  2021-04-29 14:59 ` Nayana
  2021-04-30  7:27 ` Thomas Huth
  13 siblings, 0 replies; 15+ messages in thread
From: Nayana @ 2021-04-23  7:27 UTC (permalink / raw)
  To: qemu-devel

Looks like for docker in docker in cross architectures is not yet
supported. if we use -v /var/run/docker.sock:/var/run/docker.sock ,
docker will always run as client in s390x container and server from
amd64.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  New

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1880518] Re: issue while installing docker inside s390x container
  2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
                   ` (11 preceding siblings ...)
  2021-04-23  7:27 ` Nayana
@ 2021-04-29 14:59 ` Nayana
  2021-04-30  7:27 ` Thomas Huth
  13 siblings, 0 replies; 15+ messages in thread
From: Nayana @ 2021-04-29 14:59 UTC (permalink / raw)
  To: qemu-devel

Looks like docker in docker for cross architectures is not yet supported in qemu. 
can be closed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  New

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1880518] Re: issue while installing docker inside s390x container
  2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
                   ` (12 preceding siblings ...)
  2021-04-29 14:59 ` Nayana
@ 2021-04-30  7:27 ` Thomas Huth
  13 siblings, 0 replies; 15+ messages in thread
From: Thomas Huth @ 2021-04-30  7:27 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Invalid

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880518

Title:
  issue while installing docker inside s390x container

Status in QEMU:
  Invalid

Bug description:
  This is in reference to https://github.com/multiarch/qemu-user-static/issues/108.
  I am facing issue while installing docker inside s390x container under qemu on Ubuntu 18.04 host running on amd64.
  Following are the contents of /proc/sys/fs/binfmt_misc/qemu-s390x on Intel host after running 
  docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  enabled
  interpreter /usr/bin/qemu-s390x-static
  flags: F
  offset 0
  magic 7f454c4602020100000000000000000000020016
  mask ffffffffffffff00fffffffffffffffffffeffff
  I could get docker service up with the following trick. 
  printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json
  But even though docker service comes up, images are not getting pulled, docker pull fails with the following error.
  failed to register layer: Error processing tar file(exit status 1):

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880518/+subscriptions


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-04-30  7:37 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-25  7:50 [Bug 1880518] [NEW] issue while installing docker inside s390x container Rajas Kakodkar
2020-05-25 14:36 ` [Bug 1880518] " Laurent Vivier
2020-05-26  7:37 ` Rajas Kakodkar
2021-03-16 11:50 ` Nayana
2021-03-16 12:00 ` Nayana
2021-03-17 16:15 ` Thomas Huth
2021-03-18  9:28 ` Nayana
2021-03-18 10:59 ` Nayana
2021-03-19  6:54 ` Thomas Huth
2021-03-23 10:53 ` Nayana
2021-04-01 12:00 ` Nayana
2021-04-01 15:21 ` Laurent Vivier
2021-04-23  7:27 ` Nayana
2021-04-29 14:59 ` Nayana
2021-04-30  7:27 ` Thomas Huth

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.