4 ms·
Web developers frequently use Docker for Mac which is a way to run Linux containers (which are most frequently built for x86-64), which requires a way to run a
by bgorman 6y ago
Web developers frequently use Docker for Mac which is a way to run Linux containers (which are most frequently built for x86-64), which requires a way to run a x86-64 hypervisor.
Docker for Mac runs a Linux VM that in turn runs the containers running on developers laptops.
- stingraycharles 6y agoDoesn’t this answer your own question though, the Docker vm is just virtualized to x86 and that’s it?
- Wowfunhappy 6y agoVirtualization ≠ emulation, for purely cpu-bound tasks performance can be near-native as long as the underlying processor architecture is the same. Not so if you're emulating x86 on ARM...
- panpanna 6y agoIt's virtualized for the same architecture, which is not very costly on today's CPUs. ARM emulating x86 is a whole different beast. On the other hand, why not run arm-docker on a virtual arm-linux?? Why does it have to be x86?
- jitl 6y agoLast time Apple did this (PPC -> x86), the new Intel CPUs were so much faster & more efficient than the equivalent PPC chip that programs ran at the same speed under emulation, and the system & native programs ran much faster, so it was still a worthy upgrade.
- btown 6y agoFor power efficiency this may be true this time as well... but for sheer performance and latency under spiky web-style workflows, I'm not hopeful.