games-on-whales / wolf

Stream virtual desktops and games running in Docker
https://games-on-whales.github.io/wolf/stable/
MIT License
292 stars 20 forks source link

doc: populate volume without error, mount /etc/wolf/cfg dir #65

Closed PierreBeucher closed 4 months ago

PierreBeucher commented 4 months ago

Hi there, I played a bit with Wolf and followed through the getting started documentation. Here's a few update suggestions for a better flow:

It's possible to create a Docker container to populate nvidia volume with docker create rather than use docker run which will exit with error - same result with a slightly better UX :)

Also Wolf expect a /etc/wolf/cfg directory to exists on startup and fails otherwise. This directory does not exists by default as only /etc/wolf is mounted. By mouting both /etc/wolf and /etc/wolf/cfg Docker will create both directories if they do not already exists, hence Wolf won't crash (as suggested here: https://github.com/games-on-whales/wolf/issues/64#issuecomment-1951479056)