That's one of those "how long is a piece of string" questions - there's no question it will all run, but the issue is what you're doing with it. Massive mariadb databases? Six kids simultaneously streaming from jellyfin? Or just you developing and testing while streaming some tunes...?
If its all running on a 4gb Pi that answers the question - I expect even Jellyfin would run unless you wanted it to do on-the-fly transcoding (even then, I suspect a Pi 4 would have a good try).
Bear in mind that the only way to run Docker on the Mac is to have a virtual machine running Linux - the bad news is that this is an additional complication when setting up networking, external storage etc. and you'll get some performance hit, the good news is that (depending which tool you use) you can choose how much RAM and how many processor cores to limit the VM to & easily turn it off if its slowing down desktop work.
I'd see running Docker on a Mac as mainly a development tool.
Thinking about the logistics - if your "home server" is being used by others, there's a lot to be said for having it on a dedicated machine, so whoever is using the desktop can reboot, upgrade or run demanding software without messing other people up. In particular - it makes most sense to run pihole on a semi-dedicated machine (a Pi is ideal) so that your DNS/DHCP etc. are always working.