This image is based my own Alpine Linux base image.
This image contains :
- Map one volume with the
/homefolder if you want the Transmission config directory (with the config file and database) to persist.
- Map the volumes where you want you torrent downloaded to an unused folder in the image (for example
- Set the
RUN_ASenvironment variable on startup (either with
docker run -e RUN_AS=1234:5678or with the
environmentkey in your compose file). In that case, the image is built with root privileges and only the main process is run as a non-priviledged user (for security reasons). The form of the
RUN_ASvariable must be
UID:GIDof the user.
docker run -v YOUR-TRANSMISSION-HOME-DIRECTORY:/home -v YOUR-TORRENT-FILES-DIRECTORY:/media napnap75/rpi-transmission:latest
If you set the
RUN_AS environment variable, the program will not be allowed to upgrade itself and you will have to manually upgrade it (either by rebuilding the image or by using the
docker exec command (which do not use the entrypoint script and therefore is run as ROOT)).