Public | Automated Build

Last pushed: 5 months ago
Short Description
Docker image for Transmission Daemon.
Full Description

docker-transmission

Docker image for Transmission Daemon.

Running the Container

In order to persist configuration data when upgrading your daemon container you should create a
named data volume. This is not required but is highly recommended.

docker volume create --name transmission-data

After the data volume has been created run the daemon container with the named data volume:

docker run -d -v transmission-data:/etc/transmission-data -v /local/downloads:/srv/downloads -p 9091:9091 -p 51413:51413/udp --name transmission-daemon phlak/transmission

NOTE: The default RPC web interface username/password is transmission/transmission.

Optional arguments

-v /local/watchdir:/srv/watchdir - Map a directory (i.e. /local/watchdir) on the host OS that
Transmission will monitor for .torrent files

-e TZ=America/Phoenix - Set the timezone for your server. You can find your timezone in this
list of timezones. Use the (case sensitive)
value from the TZ column. If left unset, timezone will be UTC.

--restart unless-stopped - Always restart the container regardless of the exit status, but do not
start it on daemon startup if the container has been put to a stopped
state before. See the Docker restart policies
for additional details.

Modifying Transmission Daemon settings

In order to modify the Transmission Daemon settings stop the running container then modify the
settings.json file by connecting to the container via an interactive, disposable container:

docker stop transmission-daemon
docker run -it --rm --volumes-from transmission-daemon phlak/transmission vi /etc/transmission-daemon/settings.json

NOTE: In order for alternative speed schedules to work properly you may need to set the
timezone of your container. See the optional argument for setting the timezone above.


Running the Container Over an OpenVPN Tunnel

Place your OpenVPN client configuration file in a directory anywhere on your host system with the
name openvpn.conf. You should also place your client certs/keys in this directory if required.
Then run the OpenVPN container and map your local OpenVPN directory to the container volume:

docker run -d -v /local/dir:/etc/openvpn -p 9091:9091 --privileged --restart unless-stopped --name transmission-vpn phlak/openvpn

Once your OpenVPN container is running, start the Transmission Daemon container with a shared
network stack:

docker run -d --net container:tranmission-vpn -v transmission-data:/etc/transmission-data -v /local/downloads:/srv/downloads --name transmission-daemon phlak/transmission

Troubleshooting

Please report bugs to the GitHub Issue Tracker.

Copyright

This project is licensed under the MIT License.

Docker Pull Command
Owner
phlak
Source Repository

Comments (0)