netbrain / zwift

Easily zwift on linux
The Unlicense
265 stars 28 forks source link

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

Closed sHedC closed 4 months ago

sHedC commented 5 months 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 5 months 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 5 months ago

@hobeone :point_up:

hobeone commented 5 months 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.