Re:More developers use Linux than Mac, according to 2022 Sta...
by beebmam on Wednesday December 28, 2022 @02:44PM
(#34165006)
The problem is that the Docker runtime doesn't actually run on MacOS. It runs on a Linux VM running alongside MacOS. This can make a few things complex enough that requires changes to applications which interface with docker, especially related to networking. It's the same with Docker on Windows (running Linux containers. Windows containers are a whole other issue)
[ Parent
| on HN ]
Re:More developers use Linux than Mac, according to 2022 Sta...
by jolux on Wednesday December 28, 2022 @02:54PM
(#34165100)
> It's the same with Docker on Windows
And the same with Docker Desktop on Linux: https://docs.docker.com/desktop/install/linux-install/
Re:More developers use Linux than Mac, according to 2022 Sta...
by pxc on Wednesday December 28, 2022 @03:09PM
(#34165286)
This strikes me as such an obviously stupid, self-defeating design that I have to be missing something.
Why would the Docker developers do this? Did doing it locally not work well? Is all that just to 'spare' Linux developers from actually installing Docker on their machines?
Re:More developers use Linux than Mac, according to 2022 Sta...
by yamtaddle on Wednesday December 28, 2022 @03:39PM
(#34165639)
The trouble with Linux is that anything you don't vendor in will be a giant fucking headache when it comes to support. But then, so will anything you do vendor in, as soon as some shared lib your vendored-in dep relies on is at the wrong version, or when it encounters some oddball config/package combo, or whatever.
Here they appear to have chosen to vendor in the whole damn OS, which, given the realities of supporting Linux, doesn't seem totally insane to me. I'd expect it also lets you run it with reduced permissions (not everyone has root on their workstation) and to generally make cross-distro operation much more reliable and consistent.