gis-ops / docker-valhalla

This is our flexible Docker repository for the Valhalla routing engine
MIT License
228 stars 69 forks source link

Problem setting permissions to docker image #112

Closed frenando closed 1 year ago

frenando commented 1 year ago

Hello,

I think the documentation for the UID and GID is incomplete and also not working, at least in Fedora, i'm Trying ti use the default docker-compose.yml from the template and files cannot be created and despite the fact i'm explicitly setting the UID and GID as 1000:1000 so that it uses the same permissions my user has, however, its not working

Screenshot from 2023-06-17 22-42-32 Screenshot from 2023-06-17 22-43-13

nilsnolde commented 1 year ago

TBH, I was never really happy with this.. I hacked that in for a client use case that was fairly complicated with permission stuff. And it worked (and still works), but it could probably be removed to use explicit UID/GID when running a container. But I might miss smth there..

It is tested in CI, but again, I’m not 100% on it really working for all scenarios. Other than that one client case I’m never using custom UIDs.

frenando commented 1 year ago

Thanks a lot for your reponse, in the end i found out it was actually SELinux blocking docker