Git Product home page Git Product logo

Comments (5)

ckyrouac avatar ckyrouac commented on July 28, 2024

just to clarify - are you trying to run an amd64 image on an arm64 device?

from podman-bootc.

cdrage avatar cdrage commented on July 28, 2024

Yup.

I'm expecting podman-bootc under the hood to choose qemu-system-aarch64 or qemu-system-x86_64 and run the image.

from podman-bootc.

rhatdan avatar rhatdan commented on July 28, 2024

I don't believe that will work. You can not run a aarch64 VM/Kernel on an x86 box. Emulation works in user space not for the kernel, as I understand.

from podman-bootc.

cfergeau avatar cfergeau commented on July 28, 2024

I don't believe that will work. You can not run a aarch64 VM/Kernel on an x86 box. Emulation works in user space not for the kernel, as I understand.

qemu can do both, qemu-system-aarch64 will emulate a full aarch64 VM, qemu-aarch64 will emulate user space binaries.

from podman-bootc.

cgwalters avatar cgwalters commented on July 28, 2024

ERROR Re-exec in host mountns: setns: EINVAL: Invalid argument

The core problem here (and this has come up elsewhere) is that qemu's userspace emulation doesn't handle many Linux container features.

Here what we're trying to do is extract information about the container from the host podman. Hmm. Maybe we could switch to using data from the /var/lib/containers mount?

The other avenue here is we could use bootc-image-builder's flow in this case (or in general, by default), where it runs the install container with the host arch. That path is #4

from podman-bootc.

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.