https://github.com/johnelse/docker-arm-dev
https://github.com/johnelse/docker-arm-dev
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/johnelse/docker-arm-dev
- Owner: johnelse
- Created: 2023-07-18T22:40:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-05T08:24:17.000Z (over 1 year ago)
- Last Synced: 2025-06-29T21:43:53.057Z (12 months ago)
- Language: Dockerfile
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
docker-arm-dev
--------------
ARM development environment for non-ARM platforms.
First install some packages:
```
sudo apt install binfmt-support qemu-user-static
```
Then use the `qemu-user-static` docker image to register qemu as a handler for
the binary formats for the various architectures supported by qemu:
```
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
```
You can now run multi-platform docker images with a platform other than your
current native architecture! e.g.
```
$ docker run -it --rm --platform linux/arm/v7 ubuntu uname -m
armv7l
$ docker run -it --rm --platform linux/arm64/v8 ubuntu uname -m
aarch64
```
Use `build-and-run.sh` to build the development environment and launch it
interactively. You may want to edit the platform requested in this script,
and/or the set of packages specified in the `Dockerfile`.
Some useful links:
* https://github.com/multiarch/qemu-user-static
* https://www.stereolabs.com/docs/docker/building-arm-container-on-x86/