How will this impact docker? Does this mean you can't run x86 docker containers on new Apple laptops?
How will this impact docker? Does this mean you can't run x86 docker containers on new Apple laptops?
(Presumably, running docker build with your Dockerfile will make it work just fine, unless you need x86 specific libraries).
You would go to hell for implementing that either way
Hypothetically it could run natively on Windows NT, Linux, Darwin, Solaris, etc if it ported for appropriate APIs. However, most Docker containers contain x86_64 Linux binaries, so the runtime environment has to be binary compatible with x86_64 Linux.
Thus, instead of going through the pain similar to WSL1, Docker people just spin up a midsize Linux VM, run remote controlled Docker daemon in it and call that as the "Docker for [PLATFORM]". This will suffice because use case of Docker is to debug on a laptop and deploy to GNU/Linux servers.
So if ARM macOS runs an x86_64 Ubuntu VM it also means Docker runs.
> So if ARM macOS runs an x86_64 Ubuntu VM it also means Docker runs.
So far we haven't seen anything like that happening. The State of the Union talk yesterday went as far as running a uname -a just to show that it was an aarch64 debian they were running.
Having ARM only containers would be mostly useless (it's technically possible, but I bet there are very few ARM container images around).
I've never had a problem running Docker on my Pi, and I don't expect anyone will have a problem running Docker on a Mac given Apple's much much larger developer market share.
I'm guessing that we're going to have to see a lot better adoption of cross-platform container builds because of this.
[1]: https://docs.docker.com/buildx/working-with-buildx/#build-mu...
Likewise, will it support CLI programs at all?