Also, could you please let us know, why you would like to run Compute Node (PBS MOM) in a container and connect to PBS Server running in a container ?
Do you like to run PBS Server one container and then connect the PBS Mom running in many (each of them) containers to connect back to PBS Server.
I think , you can use the same guide to build a compute node, but disable PBS Server / Scheduler / Comm and only enable PBS MOM in the /etc/pbs.conf and ask it to connect to the PBS Server . Add this node in the PBS Server. ( note: networking/linking between the container might have to be setup )
docker run -it --name pbsnode1 -h pbs pbspro/pbspro bash