Sign inSign up

adumont/transmission

By adumont

Updated almost 11 years ago

Docker container for Transmission server based on Alpine

Image
1

768

adumont/transmission repository overview

Transmission server docker container based on Alpine Linux

It's based on Alpine Linux, so it's extremely small. Image is less than 10MB!

When you run the container, transmission-daemon is started with nice 10, and runs as user 119:131 (uid/gid from Ubuntu). You can specify command line parameters to transmission-daemon on the command line if needed (like --log-debug for example).

The container is designed to be used with two volumes. I personally use host volumes, but you could equally use data containers I guess.

  • One configuration Volume, expected to me mounted on /etc/transmission in the container, which is the directory where is the settings.json file.

  • Work/Data Volume(s), which you would mount where you'd like. It's were you will have your download-dir, incomplete-dir,... Remember the values you put in the settings.json are relative to the container. You can also set the same path as the host, it will be easier. In my case, I have those in a ZFS filesystem on the Docker host: /zfs/utorrent (I've kept the name for historical reason!), so I'll share it with the container with: -v /zfs/utorrent:/zfs/utorrent.

(You could also use only one volume, and put your data in the same config volume.)

Run the Transmission container as a service with Upstart

As an example, I provide a sample docker-transmission.conf (see project source on Github), to be customized (especially the volumes) and then placed in your Docker host /etc/init/ folder.

Once there, you can then issue the following commands:

Start the container (will start at boot time)

service docker-transmission start

Stop the container (will stop on shutdown)

service docker-transmission start

You can also check the logs, with:

docker logs -f transmission

Tag summary

Content type

Image

Digest

sha256:6079fb85c

Size

4.3 MB

Last updated

almost 11 years ago

docker pull adumont/transmission