mirror of
https://github.com/games-on-whales/wolf-ui.git
synced 2026-10-15 13:02:04 +00:00
[PR #21] feat: optional rootless mode #20
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf-ui#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/wolf-ui/pull/21
Author: @skewballfox
Created: 10/12/2026
Status: 🔄 Open
Base:
main← Head:rootless📝 Commits (2)
d8a938dfeat: optional rootless mode7507c66fix: fall back when the icon cache dir isn't writable📊 Changes
4 files changed (+173 additions, -11 deletions)
View changed files
📝
Dockerfile(+12 -0)📝
readme.md(+36 -0)➕
scripts/entrypoint.sh(+72 -0)📝
src/Resources/WolfAPI/v1/Utils.cs(+53 -11)📄 Description
adds support for running the wolf-ui rootlessly
Add an opt-in rootless mode, in line with Wolf's --rootless. Set WOLF_UI_ROOTLESS=true (or pass --rootless) and start the container as the new unprivileged
wolf-uiuser (UID/GID 990, overridable with the WOLF_UI_UID/WOLF_UI_GID build args). The root-only GOW init and gosu are skipped, so all capabilities can be dropped.A new entrypoint wraps the GOW /entrypoint.sh. Without the option it hands over unchanged, so the default behaviour stays the same. In rootless mode it falls back to a temporary HOME if the mounted one isn't writable, and points the GL/EGL/Vulkan loaders at the NVIDIA driver volume (registering it with ldconfig needs root).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.