News for hackers. Stuff that matters.
Re:Podman vs. Docker: Comparing the two containerization tools by californical on Thursday February 09, 2023 @12:14AM (#34720044)
Yeah I have a recurring issue where docker desktop on Mac will use >100% cpu with no containers running (verified with docker ps and docker stats commands). I’ve tried all of the troubleshooting they have posted online. Currently got it down to ~40% cpu usage when idle, but no guarantee that it stays there.

Tried switching to podman with docker-compose and podman-compose, but can’t get the auth to work for private repos on dockerhub. So basically just accepting my fate of crazy idle memory and cpu usage.

Re:Podman vs. Docker: Comparing the two containerization tools by sa46 on Thursday February 09, 2023 @12:34AM (#34720147)
My most popular StackOverflow question is that phenomenon exactly: https://stackoverflow.com/questions/58277794

No root cause after 3 years. The best guess is the overhead of IO somewhere in the stack.

Re:Podman vs. Docker: Comparing the two containerization tools by charrondev on Thursday February 09, 2023 @01:30AM (#34720425)
Are you using the “new” file synchronization? The combination of that, the new virtualization framework that stabilized last year, and upgrading to a MacBook with an M1 Pro, the relatively large codebase I run daily zips along very quickly. It’s made up of:

- a PHP-fpm container running a 5m LoC codebase - a nodeJS container running a webpack dev server instance on a 1m LoC frontend codebase - 2 elasticsearch containers (one for logs and 1 for for app search) - 2 Kibana container - 1 logstash container - A rabbitmq container - a memcached container - a redis container - a Percona container - 3-4 micro services each in there own container. - an imgproxy container

All of this runs quite snappily in ~6 GB of RAM and I’ve never noticed any slowness while also running Edge, slack, VSCode, PHPStorm, zoom, and a bunch of terminal windows, and I could probably get that down a bit by consolidating the elasticsearch and kibana instances.

Re:Podman vs. Docker: Comparing the two containerization tools by jwmoz on Thursday February 09, 2023 @07:52AM (#34723200)
I had a similar prob and it was fixed by changing one of the experimental virtualisation options. Still a resource hog though.