Re:Docker on Mac is slow. Here's the fix
by rubyist5eva on Thursday December 22, 2022 @09:50PM
(#34101827)
I have a nearly maxed out Mac Studio and my experience was the same, until I got my work to fork out a license for parallels and I just installed docker in an ubuntu VM and configured my DOCKER_HOST on the host to talk to the vm. Now it's crazy fast.
[ Parent
| on HN ]
Re:Docker on Mac is slow. Here's the fix
by chrisbolt on Thursday December 22, 2022 @10:09PM
(#34101947)
How does file sharing performance compare?
Re:Docker on Mac is slow. Here's the fix
by rubyist5eva on Friday December 23, 2022 @03:05PM
(#34110022)
I automatically sync my workspace to the VM using IntelliJ and rsync so I don't mount any host filesystems in the VM for docker. I just use linux native volumes inside the vm itself and it works fine for me so far. It takes a bit of configuration from the IDE side but it works pretty seamless once it's setup.
Re:Docker on Mac is slow. Here's the fix
by jscheel on Friday December 23, 2022 @09:39AM
(#34106279)
You are maintaining all your files in the VM though, right? I'm playing with setting up a sync from vm to host so I can do that but still use my local tools.
Re:Docker on Mac is slow. Here's the fix
by rubyist5eva on Friday December 23, 2022 @03:04PM
(#34110012)
IntelliJ autosyncs all my files to the VM seamlessly using rsync, yes. I've considered switching to use the remote development features in intellij and just managing everything in the VM and not having anything on the host but I haven't had any trouble with my current setup so I haven't bothered tbh.
Re:Docker on Mac is slow. Here's the fix
by jscheel on Monday December 26, 2022 @11:53AM
(#34139350)
I use k8s in Docker desktop, so I tried using ksync, but it’s just broken. Lots of reports of it not working. I’m gonna play with a rolling my own syncing solution, either host -> vm or the other way around.