This could be what I've been looking for. I'm trying to run SLURM on Mac, but it uses some Linux kernel specific stuff so it can't just run under Docker because the macOS kernel doesn't have those features. I've resorted to using a VM but would really prefer something lighter weight.
I swear that I used to run it on my Mac (I know I ran SGE, but I’m 90% sure I installed SLURM at some point).
Are you trying to run Mac jobs or Linux jobs? Is there a reason you need to run it in Docker (which still runs in a Linux VM, doesn’t it)?
I switched to using a more lightweight scheduler when I need to run a batch job on my Mac. But even then, I’m running Mac jobs (or generic *nix jobs), not Linux specific code/containers.
But, if you need to manage a Linux VM for SLURM (or any other reason), I really like Lima.