Live data from Hacker News

Docker fails to launch on Apple Silicon

github.com

241–250 of 281 posts

Re: Docker fails to launch on Apple Silicon

#241
post #223
post #221

Earlier quoted context omitted.

MacOS, is usually the answer.

That begs an even bigger why, given it's such an awful OS in many ways.

I used Linux exclusively for a number of years and was pulled into the Mac world kicking and screaming for bureaucratic reasons.

I actually like it. I get a sane shell with all of the basic *nix tools I need and I get the wide consumer-level support of the rest of the OS.

One basic thing I really enjoy is having extra monitors just work without wrestling with display settings. A small thing, sure, but it was a surprisingly persistent pain.

Re: Docker fails to launch on Apple Silicon

#242
post #155

Earlier quoted context omitted.

I naively assumed, until today, that the whole point of using linux in docker was that you get the multi-arch goodness of linux for free!

What multi-arch goodness of Linux? Linux can't magically run code from any architecture even without Docker in the mix, and unless someone is maintaining packages for your specific architecture, you're building them yourself.

As a non-processor geek, isn't M1 an arm chip? How long will it take arbitrary software to target it?

Re: Docker fails to launch on Apple Silicon

#244

Earlier quoted context omitted.

This is exactly the reason I picked up an iPad Pro earlier this year. I have ADHD that flares up pretty bad when I’m wading through the boring parts of a project and flipping through open windows, the Dock flashing at me, update notifications popping in randomly, and all the complexity that comes with a desktop OS just wore me down. Add in all the fun stuff 2020 has to offer and I just couldn’t take it anymore. Not t…

This sounds like you would actually _like_ the incompleteness of most linux window managers. On i3 you don't get update notifications, because by default notifications don't work!

I’ve been down that road and combining ADHD with an infinite amount of buttons to press and dials to turn is a recipe for disaster. I just can’t help but push all the buttons and turn all the dials until something breaks, and then I have to spend all day trying to fix it.

Re: Docker fails to launch on Apple Silicon

#245

Earlier quoted context omitted.

Largely depends on what kind of software developer you are. Not all developers rely on x86. Our app is React/ Typescript and we don't use Docker/ x86 virtualization at all. I do need MySQL and a few other tools, but I don't expect they will be long coming (or maybe already running in Homebrew is there Homebrew ARM?) If you make your living writing Mac or iOS software, this is a gift. Might be worth waiting for the ne…

I would definitely not take for granted that you’ll be able to develop such things on the M1 platform without encountering M1 platform obstacles in unexpected corners of the tool chains for the next thirty days. It might be fine, but if it’s not, you’re out of luck until it is.

Sure, M1 Apples are bleeding edge for at least six months, maybe a year or more.

Re: Docker fails to launch on Apple Silicon

#246
post #8

Earlier quoted context omitted.

I think you can still use docker x86 images on virtualization mode

No, I've seen no evidence of this. Docker Desktop does not work [on Apple Silicon] in any form today.

well, evidence would be something like this: https://ish.app

Re: Docker fails to launch on Apple Silicon

#247

Earlier quoted context omitted.

The new MacBooks have 2 USB ports.

One of them is used for charging, so you really only have one useable port. Still, TB3 dock should be able to provide enough ports for most people (at the expense of portability).

Not to defend Apple because your point is valid, but you can buy a $25 Anker hub and run power through that and gain a ton of ports.

Re: Docker fails to launch on Apple Silicon

#248

Earlier quoted context omitted.

What multi-arch goodness of Linux? Linux can't magically run code from any architecture even without Docker in the mix, and unless someone is maintaining packages for your specific architecture, you're building them yourself.

As a non-processor geek, isn't M1 an arm chip? How long will it take arbitrary software to target it?

Yes but afaik most arm softwares target arm7, not aarch64.

Re: Docker fails to launch on Apple Silicon

#249

Earlier quoted context omitted.

> As impressive as the new MacBooks are, they’re very clearly a stopgap solution so as not to replace everything all at once. I agree, but at the same time, they pushed it pretty hard by not just doing an Air with the chip like I thought they would, but putting it in a Pro as well (with, according to the early benchmarks I've seen, barely any performance difference. I mean they could at least have put two of them in…

Re: the Pro and Air difference... expect the performance for anything long-running to be rather significantly different, I'd guess...

Yep.

The Pro adds

- Brighter Screen - Better cooling for extended CPU loads - Touch Bar (which many don't care for) - Bigger battery.

The MacBook Air boosted to 16B is likely the biggest bang for the buck unless you are going to be hitting that CPU hard all the time. The iPad has pretty damned good performance without fans so I expect the Air will do quite fine.

Re: Docker fails to launch on Apple Silicon

#250

Earlier quoted context omitted.

Largely depends on what kind of software developer you are. Not all developers rely on x86. Our app is React/ Typescript and we don't use Docker/ x86 virtualization at all. I do need MySQL and a few other tools, but I don't expect they will be long coming (or maybe already running in Homebrew is there Homebrew ARM?) If you make your living writing Mac or iOS software, this is a gift. Might be worth waiting for the ne…

> is there Homebrew ARM? There is but it’s highly experimental still, with 50 % of formulae not working yet. Better to run Homebrew with Rosetta for now.

> Better to run Homebrew with Rosetta for now.

For some reason I'd completely forgotten this was an option. Looking at the discussions on the home-brew boards, it looks like this will be the way to run home-brew for some time.

Post reply on HN