on Mac OS: shinyproxy-config-example 02 (containerized shinyproxy)

Hello,
In example 2 of shinyproxy-config-examples

pertaining to running a containerized docker engine, what is the appropriate command for MacOS (which does not have the getent command).

sudo docker run -v /var/run/docker.sock:/var/run/docker.sock:ro --group-add $(getent group docker | cut -d: -f3) --net sp-example-net -p 8080:8080 shinyproxy-example