Live data from Hacker News

Docker fails to launch on Apple Silicon

github.com

1–10 of 281 posts

Re: Docker fails to launch on Apple Silicon

#3

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.

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

Re: Docker fails to launch on Apple Silicon

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

Re: Docker fails to launch on Apple Silicon

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

Still worth sharing so that people are aware. I was in the market for these machines and holding on until their release, but I started going through my tools to see what was supported or not, and no docker is a no-go for me.

Re: Docker fails to launch on Apple Silicon

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

Re: Docker fails to launch on Apple Silicon

#8

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.

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.

Re: Docker fails to launch on Apple Silicon

#9
"Not yet. The OS has the virtualisation functions, but the Apple chips don't have virtualisation support yet."

This is strangely a really big selling point for me as a habit breaker. I spent a good part of the release evening whining about the pitiful memory and the cost of the devices but I am regretting that on reflection. Why? Well I just spent two days arguing with problems with Microsoft's fucked up shit show of mixed platform Windows containers and Docker which ultimately ended up in a completely hosed OS install. Every time I use some heavily marketed stack it turns into this mess eventually if not right away.

My conclusion is doing this on my main computer i.e. my portal to the universe is a functional risk so I'd rather do it somewhere completely different i.e. on a desktop PC hidden away somewhere or Amazon where I can nuke the whole universe and start again without losing access to essential services etc.

So perhaps I don't need a virtualization equipped CPU after all for my computer? Forcing my hand in that direction may be a net gain.

Re: Docker fails to launch on Apple Silicon

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

On ARM in general or with Apple Silicon? The problem with Apple is that processor doesn't supports virtualization mode yet AFAIK
Post reply on HN