Live data from Hacker News

Docker fails to launch on Apple Silicon

github.com

261–270 of 281 posts

Re: Docker fails to launch on Apple Silicon

#261

Earlier quoted context omitted.

Is that really true that M1 is just an ARM processor? I've heard the difficulty in emulating it is due to Apple specific things, whether they be drivers or new instructions.

I understood this thread to be about running Linux bare metal natively on the M1, so there's no emulation there & new instructions don't matter. Drivers & secure boot are always the biggest problem. It sounds like you can sign your own kernel & add it so in theory secure boot may not be a problem. Then the question is which driver support are missing & need implementation & how close that lines up with existing ARM d…

An experimental Linux kernel that runs on Apple A10 devices is at: https://github.com/corellium/linux-sandcastle

See https://arstechnica.com/gadgets/2020/03/project-sandcastle-b... on details about it. This work, especially as there's no exploiting security bugs required here, will benefit Linux on those Macs quite a lot.

Re: Docker fails to launch on Apple Silicon

#262

Earlier quoted context omitted.

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

https://www.apple.com/mac/m1/ doesn't mention anything about what doesn't work with it. It just says "With the introduction of Rosetta 2, M1 and macOS Big Sur seamlessly run apps that haven’t yet transitioned to Universal versions." The details about what won't work are in the developer documentation, which most people who buy Macs don't read.

Most people who buy Macs won't run in to the edge cases.

Re: Docker fails to launch on Apple Silicon

#263

I've been holding off on upgrading my MBP13 for a few years now because Apple was painfully slow to refresh it. I was ready to order the model that came out in May (with 32GB RAM) but then the rumour about ARM hit the internets so I kept waiting. Now (I guess always?), it's clear that Apple Silicon is not going to be a comfortable dev environment, at lest not for some and not for a while. JDK macos/aarch64 port is st…

> VS Code has a Remote Development (over SSH) feature, has anyone used it?

I actually take this route, building a $300 personal server out of second hand parts (except for the ram and ssd) so I don't waste too much money if it doesn't work and try to exclusively use vscode remote development feature. It's working perfectly. My development workflow is not changed at all. I was expecting some friction, but there are almost none. I can even work outside my home network seamlessly using zerotier. Building a ryzen system would be totally great for this setup.

Re: Docker fails to launch on Apple Silicon

#264

I've been holding off on upgrading my MBP13 for a few years now because Apple was painfully slow to refresh it. I was ready to order the model that came out in May (with 32GB RAM) but then the rumour about ARM hit the internets so I kept waiting. Now (I guess always?), it's clear that Apple Silicon is not going to be a comfortable dev environment, at lest not for some and not for a while. JDK macos/aarch64 port is st…

I've been using Remote SSH from Windows and it works pretty good I must say

Re: Docker fails to launch on Apple Silicon

#265
post #86

Earlier quoted context omitted.

Right, lots of confusion in this thread. A12Z/DTK: HW does not support virtualization at all. Apple M1 / New Apple Products: HW does support virtualization for ARM64 guests (both windows and linux demonstrated). What about x86 software in the guestOS? Not with Rosetta. Instead, the guest OS will have to provide its own translation (such as windows/arm's current x86->arm64 or upcoming x86_64->arm64 feature). I'm not f…

This was a huge reason why I decided to go with a 16" MBP with an i9 vs the M1 today. I assume this will get worked out eventually , but as massive as Apple's gravity is in their ecosystem to pull apps along, they will have a much harder time against the massive library of x86 docker images.

Same reason why I chose the 2020 13” with the highest end Intel I could put in it. In another 3-4 years all this will be worked out and I’ll be happy to move to Apple Silicon

Re: Docker fails to launch on Apple Silicon

#266
post #148

Earlier quoted context omitted.

I switched off Mac years ago. My servers run Linux. Not bsd. Having to deal with this sort of stuff is just a waste of time. Mac's don't have a monopoly on quality, haven't for a long time. And since it's a usual response, anyone claiming Linux is too fiddly haven't used it in a long time. And while it can be if you want to roll your own DE its completely optional. Using something like fedora you can literally do alm…

I moved to Linux last month. I currently run Windows, Linux and MacOS VM on my machine. From being a Windows guy through all the years, I've found myself increasingly using Linux in this span of time. The only thing preventing me from a complete switch is MS Office. I barely used MacOS, except to diagnose issues on MacOS and run XCode.

Have you tried the web based office? I haven’t, and I’m not sure if it’s a good solution, but friends have said good things

Re: Docker fails to launch on Apple Silicon

#267
post #233

Earlier quoted context omitted.

I haven't touched fedora in a couple years. what's going on there?

in my case, they ship a almost up to date kernel, they don't use snaps, vanilla gnome, the distro is very stable. The linux community I follow also likes where the distro is going and the overall "Fedora philosophy".

That sounds exactly like what I’m looking for. Does it have an equivalent to “umake” for installing latest-version dev tools?

Re: Docker fails to launch on Apple Silicon

#268
post #218

I really don't understand why is this fuss. TBH docker-on-mac is not that good. That is why I've most minimal config and just using to have some 'linux' time to time. What I use is `docker context` command or DOCKER_HOST=ssh://user@host pattern. env-var is more convenient for 'ephemeral' hosts. (It uses your own SSH-key to connect to host) And for static hosts (like staging machines) I use context. Plus it uses nativ…

If you want a solution for syncing local dev files to a remote host I would encourage you to try mutagen. It works very well, even inside containers.

The point is not 'syncing' at all. Seamlessly deploy from the machine to the container & run it in a 'native' environment.

Re: Docker fails to launch on Apple Silicon

#269

I really don't understand why is this fuss. TBH docker-on-mac is not that good. That is why I've most minimal config and just using to have some 'linux' time to time. What I use is `docker context` command or DOCKER_HOST=ssh://user@host pattern. env-var is more convenient for 'ephemeral' hosts. (It uses your own SSH-key to connect to host) And for static hosts (like staging machines) I use context. Plus it uses nativ…

docker is part of the workflow of a lot teams. Simply not optional for a lot of backend teams to have it around. The mac version is not perfect but I've used it for years without major headaches. I regularly run all sorts of middleware, build tooling, etc. using it.

One of the most forgotten thing is filesystem in macOS is case-insensitive while Linux it's case sensitive.

Creates lots of headaches with mounted volumes (local vs staging, prod etc)

Re: Docker fails to launch on Apple Silicon

#270
post #266

Earlier quoted context omitted.

I moved to Linux last month. I currently run Windows, Linux and MacOS VM on my machine. From being a Windows guy through all the years, I've found myself increasingly using Linux in this span of time. The only thing preventing me from a complete switch is MS Office. I barely used MacOS, except to diagnose issues on MacOS and run XCode.

Have you tried the web based office? I haven’t, and I’m not sure if it’s a good solution, but friends have said good things

I use Excel pretty intensively, learnt all the shortcuts from my past finance days. I don't think the web version allows for those back-of-the-hand shortcuts.
Post reply on HN