The command docker run -v /var/folders/zz/... produces the following error.
docker: Error response from daemon: Mounts denied:
The paths /var/f
As an alternative solution:
Change the path from /private/instance1-data:/home to ./instance1-data:/home
In the *nix land and hence, Docker, the . indicates the current directory. Since macOS is picky ang getting even pickier about sandboxing, this seems like a viable solution for macOS. Just create the folder needed for instance1 in the same directory.
Another advantage of this solution is that it removes the need to run docker-compose with sudo. Regardless, it causes no harm in this case but still, that's a plus.