You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please verify that this feature request has NOT been suggested before.
I checked and didn't find a similar feature request
Problem statement
Hi and thanks for the great software.
I was wondering if it would be possible to support docker non-root execution.
Currently many python libraries are installed under /root/.local/..., which will generate permission errors.
Suggested solution
Implementation should be relatively easy to achieve, moving libs to a different folder, owned by user inventree which a chosen default uid/gid.
On startup, if PUID/PGID are set, inventree user can be updated to match them.
Describe alternatives you've considered
Alternatively, move all libs to a not user-bound path, and make it r-x by all users.
Then user id can be changed by using docker user option.
Please let me know which option you are more incline to support, I will be happy to submit a PR.
Activity
SchrodingersGat commentedon Nov 20, 2026
@r-xyz can you please review the proposed changes in #12760 - I am looking for feedback from experienced docker users