Giter Site home page Giter Site logo

Comments (5)

junaruga avatar junaruga commented on July 23, 2024

What is the host OS? Ubuntu?

I am not sure about the issue.
https://stackoverflow.com/questions/44678725/cannot-connect-to-the-docker-daemon-at-unix-var-run-docker-sock-is-the-docker

The docker run --rm --privileged multiarch/qemu-user-static --reset -p yes installs the following files with flags: F.

If you can find it.

/proc/sys/fs/binfmt_misc/qemu-$arch

First you can try Travis arch: s390x, can you do the operation without QEMU in the environment?

Next you can try the following apt package. May it also overrides teh binfmt_misc files.

$ apt-get install -y binfmt-support

If still does not work, it might be QEMU issue.
You can ask it on QEMU issue tracker showing your binfmt_misc file

/proc/sys/fs/binfmt_misc/qemu-s390x

from qemu-user-static.

rajaskakodkar avatar rajaskakodkar commented on July 23, 2024

What is the host OS? Ubuntu?

Yes, Ubuntu 18.04

/proc/sys/fs/binfmt_misc/qemu-$arch

Contents of this file are

enabled
interpreter /usr/bin/qemu-s390x-static
flags: F
offset 0
magic 7f454c4602020100000000000000000000020016
mask ffffffffffffff00fffffffffffffffffffeffff

First you can try Travis arch: s390x, can you do the operation without QEMU in the environment?

I cannot do without QEMU in the environment

I have reported this bug on qemu issue tracker https://bugs.launchpad.net/qemu/+bug/1880518

from qemu-user-static.

junaruga avatar junaruga commented on July 23, 2024

Contents of this file are

Sure, this is expected one.

I cannot do without QEMU in the environment

I meant if you use Travis CI's s390x native host feature, you can build and run your s390x Dockerfile container without QEMU, you can know the error by apt-get install -y --no-install-recommends docker-ce=18.06.* comes from QEMU or s390x architecture specific.
You can see https://docs.travis-ci.com/user/multi-cpu-architectures/ for detail.

I have reported this bug on qemu issue tracker https://bugs.launchpad.net/qemu/+bug/1880518

Nice! Thank you for that.

from qemu-user-static.

rajaskakodkar avatar rajaskakodkar commented on July 23, 2024

I meant if you use Travis CI's s390x native host feature, you can build and run your s390x Dockerfile container without QEMU, you can know the error by apt-get install -y --no-install-recommends docker-ce=18.06.* comes from QEMU or s390x architecture specific.

The error appears on s390x native container, but it does not stop docker from starting. docker in docker works flawlessly on s390x native host. Following trick worked to get docker service up on s390x container under QEMU.

printf '{"iptables": false,"ip-masq": false,"bridge": "none" }' > /etc/docker/daemon.json

but docker pull fails with this error

failed to register layer: Error processing tar file(exit status 1):

I have mentioned this in the bug reported on qemu issue tracker.

from qemu-user-static.

vitt-bagal avatar vitt-bagal commented on July 23, 2024

This is can be closed as corresponding qemu issue is closed

from qemu-user-static.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.