3 ms·
Easy, it is likely docker that is making your Mac mini slower than your old linux box? Docker on macOS is painfully slow, because it is implemented on macOS th
by lambdapsyc 5y ago
Easy, it is likely docker that is making your Mac mini slower than your old linux box?
Docker on macOS is painfully slow, because it is implemented on macOS through what amounts to a sledgehammer to the problem. Docker depends on linux kernel features so on macOS it just starts a linux virtual machine and does other high overhead compatibility tricks to get it to work. Volumes are the biggest culprit.
If you are running docker through rosetta... (don't know the state of docker on apple silicon) then that is a double whammy of compatibility layers.
Regarding bugs, yeah probably teething issues because the M1 was/is such a large departure from the norm. They should really get those things fixed pronto.
- ArchOversight 5y agoDocker for Mac Desktop supports the M1 and uses an Linux VM that is ARM. It is not using Rosetta 2 at all.
- johncolanduoni 5y agoBut if you run x86 images, it will use qemu’s software emulation inside the Linux VM (which is quite slow).
- Master_Odin 5y agoThis has been the big slowdown for my org as a number of packages we rely on in docker on debian do not yet have an arm64 version, so have to emulate x86 and take the huge performance hit.
- ArchOversight 5y agoMay I introduce you to AWS/GCP/Azure where you can cheaply run legacy x86 systems and use them for development?
- tcmart14 5y agoYea, don't get the benefit of the hypervisor when constrained to x86 Vms.