Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zapita
on Dec 20, 2020
|
parent
|
context
|
favorite
| on:
Apple M1 foreshadows Rise of RISC-V
Doesn’t Docker already support cross-arch emulation?
jackcodes
on Dec 20, 2020
[–]
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
on Dec 20, 2020
|
parent
|
next
[–]
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
on Dec 20, 2020
|
parent
|
prev
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: