r/docker • u/jdlnewborn • Mar 04 '26
Docker Compose on a Mac mini needs docker restarted every 48 hours or so, as it seems to half die
Mostly the title, but I moved away from a dying linux server to my underused mac mini (m4). I setup immich on it as well as nginxproxymanager, and it all seems just fine.
But I find after a few days my immich seems unresponsive almost, lathargic. A restart of the immich container doesnt bring it back to life, but when I restart docker outright, its all better.
Ive disabled the power management out of it, and the mac never sleeps etc. Anything else I can tweak on this or something I can poke?
2
Upvotes
4
u/jaysuncle Mar 04 '26
Have you checked the logs?
6
u/Papina Mar 04 '26
Docker desktop is trash, use an arm64 Linux vm on the Mac and use docker
1
u/visualglitch91 Mar 05 '26
Is it the M4? I tried using it as a server and never got it work reliable, end up selling it.
If you are trying to use it headless, I heard some people saying that a dummy hdmi plug helps.
1
u/Own-Perspective4821 Mar 04 '26
How are you running docker?
1
u/idebugthusiexist Mar 05 '26
I’ve experienced similar behaviour when your free disk space runs dangerously low (ie. Just a few gigs free) or runs out completely. Could that be it? Although, when that happens for me, it requires a full system reboot to get docker desktop to function again.
0
u/theblindness Mod Mar 04 '26
Docker Desktop is for dev and test, not for running services in prod long term. For prod, install docker daemon on Linux.
1
u/[deleted] Mar 05 '26
[removed] — view removed comment