docker is a second-class citizen on anything but linux.
i'm especially amazed you bothered with the m1 mac mini if you wanted to use docker, considering how little memory it has. the memory overhead of having a VM running with only 8GB available is significant.
yes, i know the docker on mac has "native" support for the m1 cpu, that doesn't mean its not running a VM.