3 ms·
Docker Desktop (ie Docker on Mac) absolutely sets up a VM.
by cpuguy83 4y ago
Docker Desktop (ie Docker on Mac) absolutely sets up a VM.
- dilyevsky 4y agoCorrect, on macs it spawns a (usually aarch64) vm using apples hypervisor framework api (hw virt) and runs docker daemon inside of it. Then it’s what I described above - just an process running arm instructions. If you’re using qemu binfmt_misc runner which uses “user mode emulation” not to be confused with system emulation which does full blown hw emulation. So it’s aready doing similar things to rosetta 2
- cpuguy83 4y agoYes qemu and Rosetta perform the same basic role here (bintfmt handler for x86 bins), but Rosetta should perform significantly better (otherwise there would be virtually no reason at all to build this).
- mr_toad 4y ago> Docker Desktop (ie Docker on Mac) absolutely sets up a VM. Docker runs inside the VM, not the other way around.
- nirvdrum 4y agoSomething needs to set up the VM that Docker runs in. Docker Desktop is that something. The GUI even lets you tweak the VM resources. I suppose you could do it all on your own, but most macOS users probably just install Docker Desktop and let it handle the VM.
- dmt0 4y agoDocker Desktop has pretty bad performance. Vagrant seems to be the way.
- karmelapple 4y agoDo you know if these changes will allow Vagrant to configure VMs with Intel operating systems to run on an M1?