Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Running ARM docker image with QEMU on x86_64 Arch Linux host
# Install quemu, docker, etc
yaourt -S qemu qemu-user-static binfmt-support
# The quemu-user-static AUR package is outdated and broken. The .deb package they pull is no longer in the ubuntu repository.
# Edit the PKGBUILD and use qemu-user-static_2.4+dfsg-3_amd64.deb (With SHA1 sum "84d83a16c60c82b6c579f2f750b04a3ac26c249b")
# Enable ARM emulation
update-binfmts --enable qemu-arm
# Pull an ARM image to play with. Raspbian in the example:
docker pull philipz/rpi-raspbian
# Run the image mounting qemu-arm-static
docker run -it --rm -v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static philipz/rpi-raspbian bash
root@container_hash:/# uname -a
Blah blah blah Armv7

This comment has been minimized.

Copy link
Owner Author

Manu343726 commented May 28, 2016

For Arch users, check this dockerfile (Adds yaourt to Arch image), and this image (Arch Linux ARM docker image).


This comment has been minimized.

Copy link

Nadav-Ruskin commented Jun 19, 2018


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.