Last active
November 2, 2024 21:26
-
-
Save Sitin/bfa5e770b80ab4b8740c88e648666c74 to your computer and use it in GitHub Desktop.
Run x86-64 Docker images on Raspberry Pi 4 (QEMU/QUS)
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
# Setup QEMU for x86-64 Docker images on Raspberry Pi 4 | |
# Install Python3 and Docker first: https://dev.to/rohansawant/installing-docker-and-docker-compose-on-the-raspberry-pi-in-5-simple-steps-3mgl | |
# Install QUEMU (https://www.qemu.org/) | |
sudo apt-get install qemu binfmt-support qemu-user-static | |
# Use QUS in Docker (https://github.com/dbhi/qus) to configure x86_64 architecture | |
docker run --rm --privileged aptman/qus -s -- -p x86_64 | |
# Test x86-64 image: | |
docker run --rm -t amd64/haskell:latest uname -m # should return "x86_64" |
thanks 😘 saved me some time.
Only thing I had to change was that "qemu" had no installation candidate on my Raspi5 w/ Debian 12 Raspberry OS.
So it was
sudo apt install qemu-system binfmt-support qemu-user-static
for me to install QEMU.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you kind stranger!