qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Rajas Kakodkar <1880518@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1880518] Re: issue while installing docker inside s390x container
Date: Tue, 26 May 2020 07:37:06 -0000	[thread overview]
Message-ID: <159047862675.20620.15711660388817638757.malone@soybean.canonical.com> (raw)
In-Reply-To: 159039304634.8018.14704731502559290875.malonedeb@gac.canonical.com

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


  parent reply	other threads:[~2020-05-26  7:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=159047862675.20620.15711660388817638757.malone@soybean.canonical.com \
    --to=1880518@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).