Skip to content

[Bug]: [riscv64] Exec format error emulating Debian #809

Closed

Description

@osalbahr

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

  1. container run --arch riscv64 -it debian

Current behavior

% container run --arch riscv64 -it debian    
Error: internalError: "Failed to exec [bash] Error Domain=NSPOSIXErrorDomain Code=8 "Exec format error""

Expected behavior

A shell prompt is displayed.

Environment

- OS: macOS Tahoe 26.0.1 (25A362)
- Xcode: N/A
- Container: container CLI version 0.5.0 (build: release, commit: 48230f3)

Relevant log output

% container run --arch riscv64 -it debian    
Error: internalError: "Failed to exec [bash] Error Domain=NSPOSIXErrorDomain Code=8 "Exec format error""

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added theissue type on Oct 25, 2025
  2. osalbahr commented on Oct 25, 2025

    @osalbahr
    Author

    Note that something similar happens with Podman:

    However, the similar command docker run -it --platform linux/riscv64 debian works.

  3. dcantah commented on Oct 27, 2025

    @dcantah
    Contributor

    We don't support running anything other than aarch64 or amd64 containers today. We support aarch64 natively, and we include an emulator in the guest (rosetta) that allows amd64 containers to run on Apple silicon machines, but nothing else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions