Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zapita
· 5y ago · 0 comments
Doesn’t Docker already support cross-arch emulation?
Comments
[–]
jackcodes
5y ago
Cross-arch images are supported, but you can only virtualise the arch you’re on. No running x86 on ARM for example.
Edit; see replies, I got this wrong
[–]
tempay
5y ago
This isn’t true, there is a --platform flag which can be used to emulate another arch:
https://docs.docker.com/docker-for-mac/apple-m1/
[–]
bboreham
5y ago
It’s fairly straightforward to configure QEMU to do the emulation. And the Docker preview released a few days ago does that without even asking.