Have you considered using named volumes instead? I prefer it always over os mounts.
You can configure named volumes to smb/cifs shares like in this post:
If this is not what you want, you will need to wait for someone who actually uses Docker Desktop on Mac, and can tell you about how to map host folders into the Docker Desktop utility vm.