HACKER Q&A
📣 JamesonNetworks

How do people orchestrate microservices for development on macOS?


We've been having problems with Docker For Mac running poorly and in general being broken on release (this time for proxies, for previous 3 years just general performance issues and battery life problems). I'm looking for solutions on how to orchestrate many (3+) microservices together locally and still be able to develop against them all in concert by loading the local file system into the running containers. Ideally, this would use Kubernetes and still enable running local code.

So far, on the virtualization side, I've tried multipass (buggy), VMWare (expensive) and Qemu (difficult to use for people not used to it). We use Docker Compose.

Is there any simple, mac native way to orchestrate containers? Or is it better to somehow expose them via the network but only redirect for one service at a time to some local instance?

Thanks in advance for the discussion, thoughts, and time! Really appreciate the HN community!


  👤 gigatexal Accepted Answer ✓
docker for Mac and docker compose should work just fine, not sure what you're missing or what's not working. I've not had issues running proxies in docker or docker compose, could you respond with more of the details around your error case?

And if you go into docker for Mac and click the checkbox you can spin up a single node Kubernetes cluster to try out your stuff with.

With VMs you could do the same with even more nodes either simulating a multi-node setup of k8s within a single VM or using N VMs for a multi-node setup or spin up VMs for each node to join the k8s cluster.