-
-
Save rubanraj54/35ccd12688a487ae4dac84491e6ee2e9 to your computer and use it in GitHub Desktop.
Running ARM docker image with QEMU on x86_64 Arch Linux host
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment