News for hackers. Stuff that matters.
Re:Docker on Mac is slow. Here's the fix by andix on Thursday December 22, 2022 @06:29PM (#34100381)
Often overlooked: there is also podman machine and podman desktop (for windows and macOS). It is not as fancy as docker, but fully free and open source.

It provides docker compatibility to some extent, you don’t need a license and it’s much less heavy than docker desktop. If you need kubernetes, there is also minikube, which provides a lot of options.

Most of the things discussed in this article still apply for podman machine and minikube.

Re:Docker on Mac is slow. Here's the fix by dangoor on Thursday December 22, 2022 @06:38PM (#34100464)
There's also Rancher Desktop. I don't know if it's less heavy, but it doesn't require a license and also includes k8s.

https://rancherdesktop.io/

Re:Docker on Mac is slow. Here's the fix by andix on Thursday December 22, 2022 @06:41PM (#34100499)
I didn’t try it out yet. But usually thing from rancher are awesome.
Re:Docker on Mac is slow. Here's the fix by da768 on Thursday December 22, 2022 @06:51PM (#34100588)
Last time I tried it, it was using sshfs mounts. Way slower than whatever Docker Desktop is using. Looks like sshfs is now unmaintained, I can't find what they're using now.
Re:Docker on Mac is slow. Here's the fix by laserlight on Thursday December 22, 2022 @07:19PM (#34100801)
I've recently tried podman on a Mac and `podman machine start` failed with an “unknown error”. It was a disappointment.
Re:Docker on Mac is slow. Here's the fix by depereo on Thursday December 22, 2022 @08:49PM (#34101427)
I had similar issues when podman desktop first came out. Working much better on a re-try this week.
Re:Docker on Mac is slow. Here's the fix by null0ranje on Thursday December 22, 2022 @09:08PM (#34101565)
I want podman to be a drop-in replacement, but it just isn’t there. I’ve wasted more time running down random errors I podman, so much so that I’ve switched back. Maybe in another year or two…
Re:Docker on Mac is slow. Here's the fix by Arbortheus on Friday December 23, 2022 @05:46AM (#34104361)
Podman has been a massive disappointment for me. I stupidly gave up my docker desktop because the company was trying to make cost savings and it was supposedly a drop-in replacement.

Some short-lived containers like our repo’s linter takes easily 4x as long to run in podman as it did with Docker. Immediately I have lost productivity.

It’s incredibly unreliable, every time I start my computer I have to podman machine stop then podman machine start because there’s something broken about how it gets initialised at startup. I’ve spent ages debugging random broken functionality.

It doesn’t support docker-compose. There’s a community project called podman-compose, but it’s not great because it won’t do stuff like build containers concurrently, and it has random weird quirks about volumes already existing when you do podman-compose up —-build whereas docker doesn’t complain for the same compose file.

Overall podman has been a massive regret for me, and I wish I hadn’t given up my docker desktop just to save a minuscule amount of money.

Re:Docker on Mac is slow. Here's the fix by sitta on Friday December 23, 2022 @06:39AM (#34104723)
When did you last use it? It _does_ support docker compose. Has for a while now actually.

I love it on Linux. The Mac version is not as smooth yet, but, for my use case, still works a hell of a lot better than docker desktop. There is something deeply wrong with docker desktop's networking, and I literally have to restart it almost every time I make a change to one of our services. Not an issue with podman.

Re:Docker on Mac is slow. Here's the fix by Arbortheus on Friday December 23, 2022 @09:36AM (#34106243)
Huh this was literally 2 weeks ago I looked into this and ended up using a third-party community podman docker compose substitute. I will have another look.
Re:Docker on Mac is slow. Here's the fix by sitta on Friday December 23, 2022 @09:52AM (#34106423)
https://www.redhat.com/sysadmin/podman-docker-compose

Podman listens on the docker socket, and the official docker-compose just works

Re:Docker on Mac is slow. Here's the fix by Arbortheus on Sunday December 25, 2022 @03:55PM (#34131139)
Oh wow I wasn’t expecting it to work that way. I was expecting to have to use some kind of podman aliased compose alternative that copies the CLI of docker compose.
Re:Docker on Mac is slow. Here's the fix by andix on Friday December 23, 2022 @11:42AM (#34107771)
It does, but last time I tried „docker-compose build“ on podman it just failed. So it doesn’t seem to just work as a drop-in replacement
Re:Docker on Mac is slow. Here's the fix by andix on Friday December 23, 2022 @06:24AM (#34104630)
I haven’t used it much I have to admit. But I also experienced the issues you are talking about.

I thought it was because I also have docker desktop on the same machine, but probably that’s not an issue at all and it’s podman remote that is unreliable.