This guide teaches how to setup Gemini CLI sandbox on Linux without requiring root permission. Giving it Docker access is same as root access since it can bindmount anything.
Follow the official guide here, https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md.
TLDR version on ubuntu