Skip to content

Instantly share code, notes, and snippets.

@marefr
Last active August 28, 2019 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marefr/52cc4b19ae5f3db1b50d9ce3553d3905 to your computer and use it in GitHub Desktop.
Save marefr/52cc4b19ae5f3db1b50d9ce3553d3905 to your computer and use it in GitHub Desktop.
Run arm images using docker on ubuntu 16.04

Had some issues running arm-based docker images on my Ubuntu 16.04 box. This solved my problem

https://hub.docker.com/r/multiarch/qemu-user-static/

binfmt_misc register

Register qemu-*-static for all supported processors except the current one. Removes all registered binfmt_misc before

docker run --rm --privileged multiarch/qemu-user-static:register --reset

Run a compatible image

docker run -it --rm multiarch/ubuntu-core:armhf-xenial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment