Skip to content

Have trouble running quemu-static on arm64 with exec format error #199

Open
@gaoxt9

Description

@gaoxt9

Is this a bug report, feature (enhancement) request or question? (leave only one on its own line)

/kind question

Description:
Keep getting exec format error for the multiarch/qemu-user-static command

$ uname -m
arm64
$ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
exec /register: exec format error

Describe the results you received:
exec /register: exec format error

Environment:

  • QEMU version: (if you can know it): QEMU emulator version 8.2.1
  • Docker

Output of docker version

Docker version 20.10.16, build aa7e414

Additional information optionally:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions