-
-
Notifications
You must be signed in to change notification settings - Fork 39
Images don't work on macos with podman #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In fact the error is about the architecture. |
It works for me, but you need to tell podman machine the architecture of the image with podman run --arch amd64 -ti --rm nixpkgs/bash
#=> bash-5.1# It might be that this is a recent addition to podman. Podman machine is still running aarch64 but emulates amd64 when asked to. That said, it would actually be great to have these docker-nixpkgs images generated for aarch64-linux too, so they could run virtualized rather than emulated on Apple Silicon. I've managed to create a nix remote-builder using |
Opened #46 to track the aarch64 requirement |
I tried to run different images on a macbook and got errors about a problem with the Exec format.
I didn't inspect the image layout so I don't know if the binaries are not put in the correct directory or if docker and podman understand differently the CMD instruction
Even a basic podman run -ti --rm nixpkgs/bash bash doesn't work
The text was updated successfully, but these errors were encountered: