news.ycombinator.com
What aspects of Docker trouble you so?
Excerpt
maccard on July 30, 2023 On windows, docker desktop has all of the same issues as it does on mac. Docker's concept of volumes and file permissions on windows are nonsense. Windows updates and Docker Desktop regularly decide to disagree, [1] It's networking support interferes with other applications (like OpenVPN and the Xbox Game Center) [2]. … maccard on July 31, 2023 That's pretty much what docker desktop does anyway, except it bridges the host with th containers in the Vm. I don't think it's worth throwing out all of the interop there because Docker the 2-billion-dollar company can't handle basic networking on windows and Mac. > Use Nix to get reliable dev envs, ... On WSL, incl. WSL2, you get bridged networking 'for free'. I'm not sure what Docker Desktop adds there. I'm not really on Windows anymore. But WSL is part of the picture when it comes to Docker's awful performance and memory leaks on Windows. If you can give up WSL/Hyper-V in favor of a better hypervisor, you can get much better performance. > I'd really rather not throw away all of the _good_ docker has - despite my complaints, I still use it every day. I guess we differ there, in that I don't really think Docker (which is really useful) is a great fit for local development— especially on non-Linux. There are other teams at my org who develop using Docker, and for those I've spoken to it's been a real win compared to what they had before! ... Nonetheless the core idea behind Docker is slow on a Mac, because the Mac doesn't implement anything like the kernel feature on which it was built. I have no affiliation with OrbStack, but am a happy user. Orbstack is an example of what docker for mac should be. It's fast, lightweight, and it works. ... To add: Mac OS X docker actually, after a while, without errors, stops responding to running dockers and you cannot remove them without reboot. It’s total garbage, but cannot move from it as everyone uses it.
Related Pain Points
Docker Desktop networking conflicts on Windows and macOS
7Docker Desktop's networking implementation interferes with other host applications like OpenVPN and Xbox Game Center on Windows and macOS. The volume and file permissions model on Windows is problematic, and Windows updates frequently conflict with Docker Desktop, causing runtime failures.
Docker Desktop Performance Degradation on Windows and macOS
6Docker Desktop emulates Linux containers using virtual machines on Windows and macOS, resulting in slow performance, excessive CPU consumption, and battery drain during heavy builds and container orchestration. Native Linux performance is significantly better, creating cross-platform friction.