I’ve written a pretty in-depth guide for mac and windows in my Github.
https://github.com/frankcholula/UoS-ros-setup
podman run \
--rm -it \
--pull always \
--privileged \
--userns=host \
--net="host" \
--add-host=$HOSTNAME:127.0.1.1 \
-v /${HOME}:/${HOME} \
-v /vol/vssp/signsrc/baxter_ws:/vol/vssp/signsrc/baxter_ws \
-v /vol/vssp/signsrc/openmanipulator_ws:/vol/vssp/signsrc/openmanipulator_ws \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--device /dev/nvidia0 \
--group-add=keep-groups \
-e DISPLAY=$DISPLAY \
-e QT_X11_NO_MITSHM=1 \
-e GAZEBO_IP=127.0.0.1 \
-e LIBGL_ALWAYS_INDIRECT=0 \
-e HOME=${HOME} \
-h $HOSTNAME \
-v $HOME/.Xauthority:/home/robostudent/.Xauthority \
container-registry.surrey.ac.uk/shared-containers/robotics-module-2:latest