Passing host system users/logins to docker on mac

On MAC, /etc/passwd is not used for multi-user systems. Passing /etc/passwd via run -v /etc/passwd:/etc/passew:ro does not work -
we can do the same thing on centos, but on MAC, it is not recommended to use /etc/passwd.
What should be way here?