netbrain / zwift

Easily zwift on linux
The Unlicense
230 stars 27 forks source link

Zwift does not run if your UID does not match the container UID. #146

Closed sHedC closed 1 month ago

sHedC commented 1 month ago

Update README about podman support.

Fix Zwift to use the right id's for podman if the Host UID does not match the default container ID.

sHedC commented 1 month ago

I did also try starting podman as root, same as docker, but this completely messed up permissions on /run/user and failed to start.

So in the end just changed the logic of the zwift.sh script to map host and container id's. Should not impact docker I did a quick test.

netbrain commented 1 month ago

@hobeone :point_up:

hobeone commented 1 month ago

Tracking through this I think it makes sense and does look like a no-op for docker. I'm travelling for the next few weeks so can't fully test myself but in limited testing it still seems to work for docker.