Live data from Hacker News

Docker Desktop for Mac (Apple Silicon)

docker.com

11–20 of 124 posts

Re: Docker Desktop for Mac (Apple Silicon)

#11
post #9

The whole point of docker was to have reproducible builds. What runs on the dev machine also runs on the server. But M1 macs change that in a major way. There might be bugs or available features in ARM versions of popular software, so what works on a dev machine might not work on the server and vice-versa.

For that use case, you should continue to run x86 images. Unless there is a bug in underlying virtualization frameworks, you’re extremely unlikely to ever see that kind of issue.

Re: Docker Desktop for Mac (Apple Silicon)

#12
I wonder if the Apple Silicon decision is going to have a large impact on what CPUs are used in the datacenter? I (and I suspect many others) would just default to x86_64, because that's what I develop on and compile to. I suspect many developers on Apple computers will start to look at the differences and choose whatever meets their requirements while minimizing costs. Should this trend continue, this could even have effects on the whole x86_64 ecosystem, as the datacenter CPU market has a large effect on the high end consumer CPU market.

Re: Docker Desktop for Mac (Apple Silicon)

#13
post #2

Interestingly, the release version of Parallels for M1 Macs also dropped yesterday.

Is there a good way to spin up a Windows virtual machine with Docker on an Apple M1? I feel like the real solution I should be going with is Parallels or qemu. Just wanted to know if there was something I'm missing.

The purpose of Docker is to containerize specific applications, not to run general-purpose virtual machines. There are Windows Server base containers for Docker, but the point of them is to do things like deploy a server (that just happens to be on Windows Server rather than Linux) as a Docker image.

Re: Docker Desktop for Mac (Apple Silicon)

#14

I wonder if the Apple Silicon decision is going to have a large impact on what CPUs are used in the datacenter? I (and I suspect many others) would just default to x86_64, because that's what I develop on and compile to. I suspect many developers on Apple computers will start to look at the differences and choose whatever meets their requirements while minimizing costs. Should this trend continue, this could even hav…

That's what Linus Torvalds said too: ARM won't have a chance in the datacenter until it gets onto desktop computers of developers first. https://www.realworldtech.com/forum/?threadid=183440&curpost...

That moment is now here. Sure, it's only a subset of the market, but Mac devices are a significant percentage of developer computers (28%), way higher than in the general population (17%).

https://insights.stackoverflow.com/survey/2020#technology-de...

https://en.wikipedia.org/wiki/Usage_share_of_operating_syste...

Re: Docker Desktop for Mac (Apple Silicon)

#15

I wonder if the Apple Silicon decision is going to have a large impact on what CPUs are used in the datacenter? I (and I suspect many others) would just default to x86_64, because that's what I develop on and compile to. I suspect many developers on Apple computers will start to look at the differences and choose whatever meets their requirements while minimizing costs. Should this trend continue, this could even hav…

I suspect you're right. I needed a cheap offsite host for running some monitoring a couple of years back, and deployed a small ARM host (via scaleway I think).

Running docker containers on it was OK, and cross-compiling my golang monitoring stuff was easy enough.

But over time I just wanted to use my existing pipelines and deploy x86 stuff. So in the end it was a novelty, and while cheaper than an amd64 host it was eventually replaced so that I had a consistent set of deployment targets.

Re: Docker Desktop for Mac (Apple Silicon)

#16
post #9

The whole point of docker was to have reproducible builds. What runs on the dev machine also runs on the server. But M1 macs change that in a major way. There might be bugs or available features in ARM versions of popular software, so what works on a dev machine might not work on the server and vice-versa.

What if your server is also running an ARM CPU though? For example with AWS Graviton

Re: Docker Desktop for Mac (Apple Silicon)

#17
post #9

The whole point of docker was to have reproducible builds. What runs on the dev machine also runs on the server. But M1 macs change that in a major way. There might be bugs or available features in ARM versions of popular software, so what works on a dev machine might not work on the server and vice-versa.

I get what you're saying since it's a different architecture entirely, but it's not as if you run EXACTLY the same hardware as your server (e.g ECC RAM, number of physical processors, things like AVX-512, etc).

Re: Docker Desktop for Mac (Apple Silicon)

#19
Reminder: unlike the docker command line tool, and the dockerd server container management tool, the Docker Desktop products are a) not free software, b) not even source available, and c) send a lot of sensitive data about your system back to Docker Inc without consent.

I didn’t realize this for a while myself, as the docker CLI tools are all free software. The “Desktop” variants are not, and embed spyware.

Re: Docker Desktop for Mac (Apple Silicon)

#20
post #16
post #9

The whole point of docker was to have reproducible builds. What runs on the dev machine also runs on the server. But M1 macs change that in a major way. There might be bugs or available features in ARM versions of popular software, so what works on a dev machine might not work on the server and vice-versa.

What if your server is also running an ARM CPU though? For example with AWS Graviton

Or Raspberry Pi? (Only mildly /s).
Post reply on HN