Live data from Hacker News

Docker fails to launch on Apple Silicon

github.com

71–80 of 281 posts

Re: Docker fails to launch on Apple Silicon

#72
post #62

This link is a little confusing because the top comment and much of the conversation is talking about the DTK which was based on the much older A12X CPU and not the M1. As far as I can tell, the M1 does have virtualization support, Docker just isn't ported yet. Update: Also, from Apple docs it seems like you won't be able to run emulation and virtualization in the same process. So you can run x86 Mac apps, but it's l…

> run emulation and virtualization in the same process To me this says that Rosetta doesn’t convert VT-X commands (et al) to their ARM counterparts. I don’t see an issue here... sure you’d be left without a dedicated VM framework from Apple, but you should be able to run a qemu process that is emulating a Linux VM. That qemu binary could be either x86 or Arm. But instead of using the Mac OS Hypervisor.Framework, you’…

I'm not exactly sure what the point of VT-X would be in an emulated environment anyway, and it would be a waste to make Rosetta 2 that much more complicated for it.

Re: Docker fails to launch on Apple Silicon

#73
Has there been any word on third-party OS support for the new AS macs? Not just so geeks can run Gentoo on them, but also for corporate customers to virtualize MacOS. I know some fellows who run ESXi/Vcenter on clusters of Minis to run multiple versions of MacOS for QA.

Re: Docker fails to launch on Apple Silicon

#74
post #20
post #11

Earlier quoted context omitted.

EDIT: I don't know about the hardware but their license change, as mentioned by saurian below, didn't add support for this as I had thought and had written in my original comment.

I thought MacStadium just released a blog post--which was on Hacker News--going into detail on the exact opposite: that now Apple has made it very clear that not only can you not provide shared hosting (as you must lease the device to the user in its entirety) but you can't even lease it in less than 24 hour increments (which to me is a kind of ridiculous overreach on what it means to own something; imagine if Toyota…

> a blog post--which was on Hacker News--

https://news.ycombinator.com/item?id=25064841 This post with 8 votes? Did it come up anywhere that got actual discussion?

Re: Docker fails to launch on Apple Silicon

#76

This link is a little confusing because the top comment and much of the conversation is talking about the DTK which was based on the much older A12X CPU and not the M1. As far as I can tell, the M1 does have virtualization support, Docker just isn't ported yet. Update: Also, from Apple docs it seems like you won't be able to run emulation and virtualization in the same process. So you can run x86 Mac apps, but it's l…

Holden Karau has public videos showing her attempts to get ML tools e.g. Dask/Kubernetes running on ARM including heavy use of Docker. For the last year she has been working at Apple so I've always suspected that she was developing on M1 hardware but with Linux OS. https://www.youtube.com/c/HoldenKarau/videos

Kubernetes itself has been installable / running on ARM for years now (I remember getting it working on Pis back in 2016/2017 and have been running http://www.pidramble.com on K8s since then).

Many, many images are now multi-arch so I encounter failures to deploy things to the Pi much less frequently nowadays.

Re: Docker fails to launch on Apple Silicon

#77

This link is a little confusing because the top comment and much of the conversation is talking about the DTK which was based on the much older A12X CPU and not the M1. As far as I can tell, the M1 does have virtualization support, Docker just isn't ported yet. Update: Also, from Apple docs it seems like you won't be able to run emulation and virtualization in the same process. So you can run x86 Mac apps, but it's l…

Is the inability to run emulation & virtualization limitation of the silicon itself? I.e., will it ever be possible an these chips?

The limit on “emulation and virtualization” just means Apple’s emulator software (Rosetta) doesn’t support x86 virtualization. Someone could write a different emulator that does support it.

Re: Docker fails to launch on Apple Silicon

#78
post #37
post #33

Is it going to be interesting to see how new Apple machines running ARM based processors plays out. Writing code, and building docker images locally on ARM and building and running the same code on X86 in production could potentially, in some circumstances cause some issues. If not, it's a bit of a pain to potentially build and publish x86 and ARM images so that people can run them anywhere (Some projects are already…

> building docker images locally on ARM and running it on X86 in production could potentially, in some circumstances cause some issues. Won't it always cause issues? If you build locally you are packaging ARM binaries in zfs which won't run on x86... unless you somehow signal to docker that you want a different arch when building

Sorry I made an edit to clarify what I meant as it was confusing.

Re: Docker fails to launch on Apple Silicon

#79
post #51
post #39

Earlier quoted context omitted.

That’s why I got the Pro (also my laptop is from 2013 and I’m desperate). I love and use Docker every day, and know it’s a mess right now, but I’m still excited to jump in head first. Edit: This is my personal laptop fwiw. My work one is still Intel.

What is the difference between the M1 Air and the M1 Pro 13"? From what I can tell, they are basically the same spec except for small differences like slightly bigger battery life, active cooling and touchbar in the Pro. Is that worth $300, for a larger form factor?

Form factor is similar. Brightness is better as stated. I believe you get better speakers in the Pro, the charger is higher wattage and the GPU in the high end air and Pro is 8 cores while the GPU on the base Air is 7 cores.
Post reply on HN