News for hackers. Stuff that matters.
Re:Should I buy an Intel Mac today or wait to buy an Arm-bas... by ghaff on Saturday July 11, 2020 @04:40PM (#23805724)
I'm not sure I understand that comment. Docker isn't virtualization at least as the term is normally used (of a full OS running in a virtual machine). It's containerization and, to the degree it's terrible (I haven't used it much), it may be related to the fact that MacOS is based on BSD and not Linux.

Big Sur apparently has native Mac virtualization for, initially, x86 although I'm unclear what the underlying tech and a query or two at the time of the original announcement didn't yield any results. So that may improve Linux virtualization.

As for ARM, virtualization is not emulation. There's going to be Rosetta 2. But my understanding is that you shouldn't expect x86 Linux to run on Mac ARM using virtualization, Docker, or anything else. (Apple demoed an ARM build of Linux running in a VM on ARM at WWDC.)

Re:Should I buy an Intel Mac today or wait to buy an Arm-bas... by vetinari on Saturday July 11, 2020 @04:55PM (#23805875)
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.

Re:Should I buy an Intel Mac today or wait to buy an Arm-bas... by ghaff on Saturday July 11, 2020 @04:59PM (#23805914)
OK. 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.

Re:Should I buy an Intel Mac today or wait to buy an Arm-bas... by vetinari on Saturday July 11, 2020 @05:06PM (#23805983)
> 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.

Re:Should I buy an Intel Mac today or wait to buy an Arm-bas... by ghaff on Saturday July 11, 2020 @05:09PM (#23806016)
Ah. Thanks. I installed it and used it a few years ago but haven't for ages and obviously forgot the details.