News for hackers. Stuff that matters.
Re:More developers use Linux than Mac, according to 2022 Sta... by geerlingguy on Wednesday December 28, 2022 @02:23PM (#34164750)
For individual containers or smaller local deployments using internal Docker networking, it's usually stable and you can use hacks like NFS reverse mounts for faster shared files.

But I've run into issues emulating more complex environments where you need multiple exposed ports, more complex host-to-Docker networking, etc., which generally works on Linux because it's not stuck in a VM shim layer.

But most of the time, I don't have any issues, just sometimes slower environments on Mac if I don't tune folder mounts and run apps like Ruby/Node/PHP with hundreds or thousands of files.

Re:More developers use Linux than Mac, according to 2022 Sta... by tzs on Wednesday December 28, 2022 @03:48PM (#34165768)
You can use Wireguard to tunnel from the internal Docker networking to Mac's network, so that each Docker container can have a separate IP address that is visible to Mac processes.

Here's a description of my setup for that: https://news.ycombinator.com/item?id=33665178

Re:More developers use Linux than Mac, according to 2022 Sta... by stusmall on Wednesday December 28, 2022 @03:53PM (#34165813)
I think this touches on what might have been the heart of the issue of one of my projects. It made use of extremely, complex dynamic docker networking. Both inter-container and host networking. It was a beast