Live data from Hacker News

Docker fails to launch on Apple Silicon

github.com

101–110 of 281 posts

Re: Docker fails to launch on Apple Silicon

#101
post #68

Why is this even a discussion? There are thousands of applications that don't (yet) work on Apple Silicon. When the hardware actually releases the software will be slowly ported over to it.

Because Apple would like us to believe that Rosetta is a panacea that makes everything work.

They've detailed explicitly what won't work with Rosetta.

Re: Docker fails to launch on Apple Silicon

#102
post #16

I'm actually tempted to get one of the new Macbook Airs. There's something intriguing and fun about navigating the brokenness of a new ecosystem. Does anybody know how Steam handles the new macs?

>>> Does anybody know how Steam handles the new macs? Games are mostly C++, based on my experience with C++ codebases I'd say there's about zero chance that a game could be (easily) recompiled and made to work on ARM. And games won't be ported anyway because it's too much work for too little sales, even if a developer really wanted to make it work they'd need a $2000 new mac to be able to compile/test in the first pl…

Or a $700 mini.

Re: Docker fails to launch on Apple Silicon

#103
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?

Higher sustained speeds, larger battery, brighter screen, better mic/speakers, Touch Bar.

Re: Docker fails to launch on Apple Silicon

#104

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.

> 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.

Why?

If it's about the dominance of x86, I think in about 15-20 years there will be no other architectures in widespread use except for ARM and maybe RISC-V.

Re: Docker fails to launch on Apple Silicon

#105

If ARM servers take over, then running ARM docker natively on M1 could be helpful ... ... but for the current state where ARM-compatible images make up roughly 1% of Docker Hub, I don't even see the point of wanting to use Docker on M1.

Graviton2 is looking really compelling in our tests. At this point we plan to migrate all of our instances over the next year and we’re going to want arm machines locally to develop with. It’s starting to come together.

Re: Docker fails to launch on Apple Silicon

#106
While Docker support will surely come, this thread does give me the feeling that Docker on Apple Silicon Macs will take at least several more months still to be released.

I would have expected Apple to be far more proactive in working with Docker, Inc., especially considering they namedropped Docker specifically at the WWDC Apple Silicon announcement. Apple has supplied virtualization capable hardware to certain developers - Parallels certainly - so it's strange to see that Docker seems to have had to sit on their hands until now? I certainly would have expected a Docker release a lot closer to hardware availability.

The fact that a stable golang for Apple Silicon likely won't be out until February is not a great look either. That blocks Docker but a lot of other things also.

I mean, you should expect a lot of startup issues when moving to a new ISA, but it seems Apple could have done a lot more here.

Re: Docker fails to launch on Apple Silicon

#107
post #29

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…

I think we made couple of expedient design decisions early on in our build process at work that is going to make producing multi-platform docker images a bit of a chore. I'm not looking forward to what happens on the next machine upgrade cycle. Probably we will end up with most people on the final generation of Intel Macbooks so we have a while to figure it out.

> Probably we will end up with most people on the final generation of Intel Macbooks so we have a while to figure it out.

If the early story around performance of the M1 bears out, I suspect this won't be the case. If their CPU for the base MacBook Air trouncing higher end MacBook Pros, what kind of a beast will their higher end CPUs going to be?

People who really need x86 compatibility will stick with x86 based Macs. Others? I'm not sure. For my current job where everything runs on node.js, the performance and battery life on the new CPU is pretty appealing.

Re: Docker fails to launch on Apple Silicon

#108
post #16

I'm actually tempted to get one of the new Macbook Airs. There's something intriguing and fun about navigating the brokenness of a new ecosystem. Does anybody know how Steam handles the new macs?

>>> Does anybody know how Steam handles the new macs? Games are mostly C++, based on my experience with C++ codebases I'd say there's about zero chance that a game could be (easily) recompiled and made to work on ARM. And games won't be ported anyway because it's too much work for too little sales, even if a developer really wanted to make it work they'd need a $2000 new mac to be able to compile/test in the first pl…

Apple claims there is not a significant translation slowdown when using Rosetta 2 to run graphics heavy workloads.

Re: Docker fails to launch on Apple Silicon

#109
post #87

Earlier quoted context omitted.

>>> Does anybody know how Steam handles the new macs? Games are mostly C++, based on my experience with C++ codebases I'd say there's about zero chance that a game could be (easily) recompiled and made to work on ARM. And games won't be ported anyway because it's too much work for too little sales, even if a developer really wanted to make it work they'd need a $2000 new mac to be able to compile/test in the first pl…

$2,000 is a stretch. You can get the high-end M1 Mini for about $1,200. A high-end M1 MBP for under $1,800.

The Macbook Pro that is $1200 in the US is £1300 in the UK and 1449€ in France. Apple products are way more expensive outside of the US.

Plus another 100 or 200 in adapters. It's beyond me why they would make a laptop with zero USB and zero HDMI ports.

Total is $2000 when converted back in USD.

Re: Docker fails to launch on Apple Silicon

#110
post #62

Earlier quoted context omitted.

> 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.

Also, Rosetta 2 is user mode only, and VT-X commands are kernel/hypervisor mode only.
Post reply on HN