[PR #251] [MERGED] Simplifying mount and starting options #394

Closed
opened 2026-10-15 13:00:15 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/wolf/pull/251
Author: @ABeltramo
Created: 9/16/2025
Status: ✅ Merged
Merged: 9/17/2025
Merged by: @ABeltramo

Base: stable ← Head: dev-introspection


📝 Commits (5)

  • 50ffa69 feat: automatic detection of the currently running container so that we can automatically match /etc/wolf folder on the host
  • fc94ab8 feat: automatically put XDG_RUNTIME_DIR in a volume and fixup paths for app containers
  • 87050be Committing clang-format changes
  • 29cc7b0 fix: mount paths for fake-udev and udev
  • 9b68cc1 feat: updated docs

📊 Changes

14 files changed (+189 additions, -100 deletions)

View changed files

📝 docker/wolf.Dockerfile (+5 -2)
📝 docs/modules/user/pages/configuration.adoc (+9 -28)
📝 docs/modules/user/pages/quickstart.adoc (+0 -22)
📝 src/core/src/platforms/all/docker/docker/json_formatters.hpp (+6 -7)
📝 src/moonlight-server/CMakeLists.txt (+5 -4)
📝 src/moonlight-server/events/events.hpp (+2 -1)
➕ src/moonlight-server/introspect/introspect.cpp (+63 -0)
➕ src/moonlight-server/introspect/introspect.hpp (+18 -0)
📝 src/moonlight-server/rest/endpoints.hpp (+1 -2)
📝 src/moonlight-server/runners/docker.cpp (+0 -2)
📝 src/moonlight-server/state/data-structures.hpp (+15 -0)
📝 src/moonlight-server/state/sessions.hpp (+25 -22)
📝 src/moonlight-server/wolf.cpp (+39 -9)
📝 tests/docker/testDocker.cpp (+1 -1)

📄 Description

In this PR:

  • Removed the need for HOST_APPS_STATE_FOLDER and automagically detect where /etc/wolf is mounted so that you can just mount /a/folder:/etc/wolf and Wolf will automatically detect that /a/folder is the path on the host and adjust the app mounts accordingly.
  • Removed the need to set and mount XDG_RUNTIME_DIR, Docker will automatically create a volume and Wolf can automagically detect which volume it is and mount the right sockets to the corresponding app containers.

TODO:

  • Update docs
  • Test and feedback?

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/wolf/pull/251 **Author:** [@ABeltramo](https://github.com/ABeltramo) **Created:** 9/16/2025 **Status:** ✅ Merged **Merged:** 9/17/2025 **Merged by:** [@ABeltramo](https://github.com/ABeltramo) **Base:** `stable` ← **Head:** `dev-introspection` --- ### 📝 Commits (5) - [`50ffa69`](https://github.com/games-on-whales/wolf/commit/50ffa69a06426c5b1698f0ce14276915b43532c3) feat: automatic detection of the currently running container so that we can automatically match /etc/wolf folder on the host - [`fc94ab8`](https://github.com/games-on-whales/wolf/commit/fc94ab8c22b28bb5472da7a42788fef7c9162b99) feat: automatically put XDG_RUNTIME_DIR in a volume and fixup paths for app containers - [`87050be`](https://github.com/games-on-whales/wolf/commit/87050bea4bb7632bd9243308aeb5b1bde7867294) Committing clang-format changes - [`29cc7b0`](https://github.com/games-on-whales/wolf/commit/29cc7b0946d24cc72cfa854d7156e6d63babab1d) fix: mount paths for fake-udev and udev - [`9b68cc1`](https://github.com/games-on-whales/wolf/commit/9b68cc1e306e762a73480b44e602daf0d3c6ae9e) feat: updated docs ### 📊 Changes **14 files changed** (+189 additions, -100 deletions) <details> <summary>View changed files</summary> 📝 `docker/wolf.Dockerfile` (+5 -2) 📝 `docs/modules/user/pages/configuration.adoc` (+9 -28) 📝 `docs/modules/user/pages/quickstart.adoc` (+0 -22) 📝 `src/core/src/platforms/all/docker/docker/json_formatters.hpp` (+6 -7) 📝 `src/moonlight-server/CMakeLists.txt` (+5 -4) 📝 `src/moonlight-server/events/events.hpp` (+2 -1) ➕ `src/moonlight-server/introspect/introspect.cpp` (+63 -0) ➕ `src/moonlight-server/introspect/introspect.hpp` (+18 -0) 📝 `src/moonlight-server/rest/endpoints.hpp` (+1 -2) 📝 `src/moonlight-server/runners/docker.cpp` (+0 -2) 📝 `src/moonlight-server/state/data-structures.hpp` (+15 -0) 📝 `src/moonlight-server/state/sessions.hpp` (+25 -22) 📝 `src/moonlight-server/wolf.cpp` (+39 -9) 📝 `tests/docker/testDocker.cpp` (+1 -1) </details> ### 📄 Description In this PR: - Removed the need for `HOST_APPS_STATE_FOLDER` and automagically detect where `/etc/wolf` is mounted so that you can just mount `/a/folder:/etc/wolf` and Wolf will automatically detect that `/a/folder` is the path on the host and adjust the app mounts accordingly. - Removed the need to set and mount `XDG_RUNTIME_DIR`, Docker will automatically create a volume and Wolf can automagically detect which volume it is and mount the right sockets to the corresponding app containers. TODO: - [x] Update docs - [x] Test and feedback? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 13:00:15 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/wolf#394
No description provided.