5 ms·
One thing that deters me a bit from using macOS is the slower docker performance compared to linux. Anyone here have workarounds for this?
by emacs28 4y ago
One thing that deters me a bit from using macOS is the slower docker performance compared to linux. Anyone here have workarounds for this?
- hk__2 4y agoWhat’s your use-case? I have no issue with Docker perf on macOS …because I don’t have anything Docker-based that’s perf-intensive.
- oauea 4y ago> Anyone here have workarounds for this? Sure, use Linux.
- fernandotakai 4y agothat's what i did until the company i work for made me use a macbook :( now i have to deal with horrible performance everywhere because of falcon agent and docker.
- blablabla123 4y agoThe biggest problem seems to be the slow disk performance when working with volumes. At least in personal projects I could make this fast by making use of Docker's caching in creative ways. E.g. first copying the package deps, installing them and afterwards copying the (often changing) source. Also sometimes when a volume is needed it can be enough to make it a single file volume.
- rileymichael 4y agoUsing VirtioFS and the new virtualization framework makes it bearable.
- unilynx 4y agoIf your work is even a bit I/O sensitive, avoid mounting OSX folders and use named volume mounts. They are much faster as they don't cross the virtualisation boundary but you need to be careful to not destroy them if they contain data you wanted to keep For me personally, disable the new virtualization framework and gfuse options. I hope they're working better for others, but I'm not seeing any benefits yet and CPU usage dropped significantly after disabling these
- chociej 4y agoI just put linux on the MBP in the end. Much better docker experience. I can't believe companies elect to pay for Docker Desktop only to have it be so crappy.