3 ms·
On a Mac, Docker runs a Linux VM and the containers are run inside this VM. On an ARM-based Mac, I would expect an Linux-on-ARM VM and then ARM-based container
by vetinari 6y ago
On a Mac, Docker runs a Linux VM and the containers are run inside this VM.
On an ARM-based Mac, I would expect an Linux-on-ARM VM and then ARM-based containers, images for which might take a while to appear.
- ghaff 6y agoOK. I get that. (Docker can also run natively on MacOS today which is what I assumed was being discussed. Docker presumably runs just as well in a Linux VM as Linux native other than any VM performance issues today and the parent was complaining about Docker on a Mac.) But, yes, Docker can also run in a Linux on x86 VM on, well pretty much anything today, and will presumably at some point be able to run in a Linux on ARM VM in the future.
- vetinari 6y ago> Docker can also run natively on MacOS today which is what I assumed was being discussed. It is. The "native" Docker.app is an Hypervisor.framework virtual machine and an 8 GB Docker.raw image in your homedir. The client utilities are native, and communicate with a docker service running inside the VM. It definitely doesn't run containers under Darwin kernel.
- ghaff 6y agoAh. Thanks. I installed it and used it a few years ago but haven't for ages and obviously forgot the details.