[GH-ISSUE #28] Cannot run docker container as anything other than root #24

Closed
opened 2026-03-23 20:33:05 +00:00 by mirror · 0 comments
Owner

Originally created by @rockerbacon on GitHub (Feb 2, 2024).
Original GitHub issue: https://github.com/tubearchivist/tubearchivist-jf/issues/28

In the Dockerfile, pip is always invoked with the --user flag. This means only the root user will have the necessary dependencies available and the application will break when the container is run with a different user.

Since tubearchivist-jf has to modify the media directory, this creates an incompatibility with TubeArchivist whenever HOST_GID and/or HOST_UID environment variables are used to specify a media owner.

Originally created by @rockerbacon on GitHub (Feb 2, 2024). Original GitHub issue: https://github.com/tubearchivist/tubearchivist-jf/issues/28 In the Dockerfile, pip is always invoked with the `--user` flag. This means only the root user will have the necessary dependencies available and the application will break when the container is run with a different user. Since tubearchivist-jf has to modify the media directory, this creates an incompatibility with TubeArchivist whenever HOST_GID and/or HOST_UID environment variables are used to specify a media owner.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tubearchivist/tubearchivist-jf#24
No description provided.