Live data from Hacker News

Apple Silicon M1 Chips and Docker

docker.com

91–100 of 129 posts

Re: Apple Silicon M1 Chips and Docker

#91
post #85

Both Electron and Go were referenced in the article but without links, so I went looking for them to understand how far along this work was. From the pages linked below it seems like with virtualization is the real challenge. Here is a post saying that the latest beta release of Electron supports Apple Silicon: https://www.electronjs.org/blog/apple-silicon And the GitHub issue tracking Go on AS, which mentions that s…

You don't need to wait for Go version 1.16, you can use gotip and compile for AS right now.

Electron 11 was released today and supports AS, but it is listed as experimental.

Would love to see an experimental docker for mac soon.

Re: Apple Silicon M1 Chips and Docker

#92
post #53
post #52

Apple's "demo" showed Docker for mac running, complete with containers. https://i.imgur.com/bQb1grM.png Docker here is saying their "for mac" application dependencies are not even all working yet. Unless I am missing something - Apple's Docker on silicon demo was fabricated?

Docker is likely saying that it doesn’t natively run on ARM yet. Apple’s demo was likely using Rosetta. That said this is all speculation at this point. We’ll know tomorrow.

Docker on Mac needs hypervisor, but Apple says Rosetta 2 doesn't support x86 hypervisor [1]. Therefore it is not possible right now.

[1] https://developer.apple.com/documentation/apple_silicon/abou...

Re: Apple Silicon M1 Chips and Docker

#93
post #35

Gosh, it never occurred to me that the reason the UI was so bloated and slow was because it is using electron! Why couldn’t they just write a quick set of native panels and call it a day? Sigh.

didnt they said they have faster browser rendering speed on M1?

Re: Apple Silicon M1 Chips and Docker

#94
post #17

Sounds a bit like Docker is at a loss. Caught between a closed source OS (rock) and an architecture change (hard place). Ideally, they could leverage Rosetta2 to run x64 containers under macOS on Apple Silicon ... but I guess Apple isn't playing ball (because otherwise they would have probably announced it at WWDC). At this point I see an Apple Silicon based Mac is just a consumer device, I don't think I'm going to b…

I have been coding for 30+ years, and am yet to run Docker in anger.

And by the looks of it, when I finally get to do some project with it, the language specific runtime tools like Project Tye for .NET would already have replaced it.

Re: Apple Silicon M1 Chips and Docker

#95
post #58

Here's how I expect things to go with Docker on Apple Silicon: - Rosetta 2 will not be involved at all - They will recompile the CLI, daemon and other parts of Docker Desktop natively for arm64 (but this has a dependency on the Go toolchain) - There will likely be a bunch of bugs or general inconsistencies in the new Mac Hypervisor (their dev hardware didn't even support virtualization), so it's unlikely that Docker'…

Your mention of “pro” makes me wonder - isn’t one of Apple’s big pushes to sell to professional designers, photographers, etc.? Don’t they realize that some huge percentage of engineers and tech workers use their macs? That’s a whole segment that quite literally builds and runs all the platforms where macs are advertised or talked about...where is the “pro” MacBook targeted at that segment? With advanced virtualization, strong dev tools, whatever. You would buy so much loyalty and word of mouth from people who set the standard for technology. Heck, who actually write the standards of technology.

Re: Apple Silicon M1 Chips and Docker

#96
post #67

Earlier quoted context omitted.

From that image, the docker server could have been running in a Linux VM, and docker desktop connecting to that. EDIT: change "was" to "could have been".

> docker desktop connecting to that Docker's blog post says "Docker for Mac (silicon)" dependencies are not working yet. Apple gave the demo 3 months ago.

the UI probably ran in emulated intel mode. That part can totally be dealt with by Rosetta 2 - only the VMs need special support.

Re: Apple Silicon M1 Chips and Docker

#97
post #58

Here's how I expect things to go with Docker on Apple Silicon: - Rosetta 2 will not be involved at all - They will recompile the CLI, daemon and other parts of Docker Desktop natively for arm64 (but this has a dependency on the Go toolchain) - There will likely be a bunch of bugs or general inconsistencies in the new Mac Hypervisor (their dev hardware didn't even support virtualization), so it's unlikely that Docker'…

Your mention of “pro” makes me wonder - isn’t one of Apple’s big pushes to sell to professional designers, photographers, etc.? Don’t they realize that some huge percentage of engineers and tech workers use their macs? That’s a whole segment that quite literally builds and runs all the platforms where macs are advertised or talked about...where is the “pro” MacBook targeted at that segment? With advanced virtualizati…

They are aware of it, thats the reason why the 15 inch macbook pro for example does not have apple silicon yet. They released the consumer hardware now so everyone has 1 year to port their tools to apple silicon until the bigger (more professionell) machines arrive.

Re: Apple Silicon M1 Chips and Docker

#98
post #32

Can we give them a full month to sort this out ? I want x64 docker on Arm , as this could also be massive for server power consumption. But things take time . If your some wiz kid who can crack this puzzle you’ll have a billion dollar startup within 6 months As someone who’s published on the App Store , having a single binary run on IPhone , IPad and Mac is a much much bigger deal than most of you realize .

And if some startup is doing it, i know enough companies who will instantly buy a better docker for mac solution if it does have better filesystem performance. Accessing the macs filesystem from the docker container is really slow, there are some solution (e.g. docker-sync) but they all stop working after some time.

Re: Apple Silicon M1 Chips and Docker

#99
> Along with this, we have technical dependencies upstream of us that need to make changes prior to making a new version of Docker Desktop GA. We rely on things like Go for the backend of Docker Desktop and Electron for the Docker Dashboard to view your Desktop content. We know these projects are hard at work getting ready for M1 chips, and we are watching them closely.

The only time I used docker mac ui is to change some docker machine config. If electron is a blocker then I think they can release the beta version without the ui and their users will hardly notice.

Re: Apple Silicon M1 Chips and Docker

#100
post #17

Sounds a bit like Docker is at a loss. Caught between a closed source OS (rock) and an architecture change (hard place). Ideally, they could leverage Rosetta2 to run x64 containers under macOS on Apple Silicon ... but I guess Apple isn't playing ball (because otherwise they would have probably announced it at WWDC). At this point I see an Apple Silicon based Mac is just a consumer device, I don't think I'm going to b…

Not sure what you are talking about, I do all sorts of Docker stuff on ARM (home lab Pi's and Graviton2 for work).

This is actually going to make it easier for me, as more ARM base images will get created.

Post reply on HN