How can Jupyterhub access hosts users when it is running inside docker container

I understand that jupyterhub can use PAM when deployed on a Linux OS directly. However, what if jupyterhub is running in a docker container instead of directly on the host? How can it then access the host users (PAM)? Is there a way other than mounting a volume?

thanks