I’m in the process of trying to create a friendly Gogs Docker image that follows best practices. Two of these best practices are: not running as root inside the container, and not running as a specific user.
However, when launching the container as a random UID and attempting to “gogs run web” I am greeted with an error that says “root or sudo / gogs user is required”, effectively.
Why is root / sudo access required? What OS feature/function / escalated privileges are required for gogs to work?