Live data from Hacker News

Docker fails to launch on Apple Silicon

github.com

41–50 of 281 posts

Re: Docker fails to launch on Apple Silicon

#41
post #5

The first AS Macs are targeted at people who don't need things like docker. Eventually all the support needed will be available. It's a two year transition, you have to start somewhere.

We don't know yet whether M1 will be able to support a hypervisor, so it's just too soon to say. I know it's not the HN culture, but I encourage everyone to take a deep breath and be patient for the actual hardware to arrive.

So you didn't even read this thread before posting.

Re: Docker fails to launch on Apple Silicon

#42
post #36
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…

I wonder if this will drive z move to deploy on arm based cloud instances like aws has arm based vms for ec2

It seems like it very well could. It probably won't be power users, but perhaps, it is the start of more arm based deployments.

Re: Docker fails to launch on Apple Silicon

#43
post #24

Earlier quoted context omitted.

That's what I'd assumed too which is why a M1 Macbook Pro was a bit of a surprise.

If the benchmarks from the other front-page post are true, then not releasing a MBP version would have left them in a position where the AS MBA outperforms their entire MBP line.

Yep, but due to the new high speed on-package RAM architecture they couldn’t support more than 16GB RAM, so couldn’t retire even the 13” Intel MPBs because some people need the RAM. It all makes sense.

Re: Docker fails to launch on Apple Silicon

#44
I will not be buying one of these first generation M1 devices because of issues like this. But in the long term I actually think it’s going to be a really good thing for the industry if we can get more developers using non-x86 devices and deploying code to non-x86 servers.

Re: Docker fails to launch on Apple Silicon

#46
post #5

The first AS Macs are targeted at people who don't need things like docker. Eventually all the support needed will be available. It's a two year transition, you have to start somewhere.

We don't know yet whether M1 will be able to support a hypervisor, so it's just too soon to say. I know it's not the HN culture, but I encourage everyone to take a deep breath and be patient for the actual hardware to arrive.

It will; it's based on the A14 chip which adds EL2 support.

Re: Docker fails to launch on Apple Silicon

#47
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

"Somehow". That's exactly what you have to do. Build multi-arch containers with docker buildx.

Re: Docker fails to launch on Apple Silicon

#48
post #7

I think Docker for Mac should just use x86 emulation for the time being -- apparently the new Apple chips don't support virtualization? x86 emulation gives access to most available Docker images anyways -- and the performance of the new CPUs would seems to indicate that emulation may not be so terrible, at least for the short term.

The M1 does support virtualization. Parallels is already working. I don't know how long it will take to get HyperKit working on Apple Silicon. QEMU would allow running x86 images on Apple Silicon but I don't know if the performance would be acceptable. You can't use Rosetta 2 with Linux no matter how much you might like to.

It's kind of really bad because it doesn't get to use Rosetta's kernel support for enabling strict memory ordering.

Re: Docker fails to launch on Apple Silicon

#49

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?

Re: Docker fails to launch on Apple Silicon

#50

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?

It's a hardware thing, so the answer is "never" on A12Z and "it's possible" on A14 and "Apple supports it" on M1.
Post reply on HN