[GH-ISSUE #247] How do i mount my local games directory inside kodi container #169

Closed
opened 2026-10-15 12:57:36 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @awcator on GitHub (Aug 27, 2025).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/247

Hi everyone, I'm new to Wolf. I was trying to load my local machine folder, /home/awcator/games, into the kodi container. I'm following this guide: https://games-on-whales.github.io/wolf/stable/user/quickstart.html (NVIDIA Container Toolkit).
What am I missing? Mounting directly to the main container is not working because Kodi runs in a separate container.

Originally created by @awcator on GitHub (Aug 27, 2025). Original GitHub issue: https://github.com/games-on-whales/wolf/issues/247 Hi everyone, I'm new to Wolf. I was trying to load my local machine folder, /home/awcator/games, into the kodi container. I'm following this guide: https://games-on-whales.github.io/wolf/stable/user/quickstart.html (NVIDIA Container Toolkit). What am I missing? Mounting directly to the main container is not working because Kodi runs in a separate container.
bsakaguchi 2026-10-15 12:57:36 +00:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@awcator commented on GitHub (Aug 27, 2025):

Update :

[[apps]]
icon_png_path = 'https://games-on-whales.github.io/wildlife/apps/kodi/assets/icon.png'
title = 'Kodi'

    [apps.runner]
    base_create_json = '''{
  "HostConfig": {
    "IpcMode": "host",
    "Privileged": false,
    "CapAdd": ["NET_RAW", "MKNOD", "NET_ADMIN"],
    "DeviceCgroupRules": ["c 13:* rmw", "c 244:* rmw"]
  }
}
'''
    devices = []
    env = [ 'RUN_SWAY=true', 'GOW_REQUIRED_DEVICES=/dev/input/* /dev/dri/* /dev/nvidia*','USER=awcator','HOME=/home/awcator' ] #<-------------here
    image = 'ghcr.io/games-on-whales/kodi:edge'
    mounts = ["/home/awcator:/home/awcator:rw"]  #<-------------here
    name = 'WolfKodi'
    ports = []
    type = 'docker'

Adding the following lines to /etc/wolf/cfg/config.toml worked for me. Is this the correct approach? Can i run without docker? I just wanted headless server

<!-- gh-comment-id:3228695848 --> @awcator commented on GitHub (Aug 27, 2025): Update : ```toml [[apps]] icon_png_path = 'https://games-on-whales.github.io/wildlife/apps/kodi/assets/icon.png' title = 'Kodi' [apps.runner] base_create_json = '''{ "HostConfig": { "IpcMode": "host", "Privileged": false, "CapAdd": ["NET_RAW", "MKNOD", "NET_ADMIN"], "DeviceCgroupRules": ["c 13:* rmw", "c 244:* rmw"] } } ''' devices = [] env = [ 'RUN_SWAY=true', 'GOW_REQUIRED_DEVICES=/dev/input/* /dev/dri/* /dev/nvidia*','USER=awcator','HOME=/home/awcator' ] #<-------------here image = 'ghcr.io/games-on-whales/kodi:edge' mounts = ["/home/awcator:/home/awcator:rw"] #<-------------here name = 'WolfKodi' ports = [] type = 'docker' ``` Adding the following lines to /etc/wolf/cfg/config.toml worked for me. Is this the correct approach? Can i run without docker? I just wanted headless server
Author
Owner

@ABeltramo commented on GitHub (Aug 27, 2025):

Yep, that is the right approach.
Just bear in mind that when mounting paths like that you might have issues if multiple Moonlight clients try to write to a file simultaneously.
If this is used just to stream to one device at a time you are good to go. 😉

<!-- gh-comment-id:3228729568 --> @ABeltramo commented on GitHub (Aug 27, 2025): Yep, that is the right approach. Just bear in mind that when mounting paths like that you might have issues if multiple Moonlight clients try to write to a file simultaneously. If this is used just to stream to one device at a time you are good to go. 😉
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#169
No description provided.