Public | Automated Build

Last pushed: 16 days ago
Short Description
Transmission daemon in a Docker
Full Description

Quick Start

Run the Transmission daemon docker image:

docker run --name my-transmission \
    --detach --restart unless-stopped \
    --publish 9091:9091 \
    --publish 51413:51413 \
    jmlemetayer/transmission

Data Persistence

The directories /var/lib/transmission/config containing the daemon
configuration, /var/lib/transmission/downloads containing the downloads,
/var/lib/transmission/incomplete used for the incomplete torrents and
/var/lib/transmission/watch configured to watch for new torrents can be mapped
as volumes to be saved outside the container:

docker run --name my-transmission \
    --detach --restart unless-stopped \
    --publish 9091:9091 \
    --publish 51413:51413 \
    --volume /var/lib/transmission/config:/var/lib/transmission/config \
    --volume /var/lib/transmission/downloads:/var/lib/transmission/downloads \
    --volume /var/lib/transmission/incomplete:/var/lib/transmission/incomplete \
    --volume /var/lib/transmission/watch:/var/lib/transmission/watch \
    jmlemetayer/transmission

User & Group Management

You can force the container to start Transmission with any user and group by
setting the UID and GID environment variable. This must be numerical value.

So it is possible to map a transmission host user & group to the container by
doing something like this:

docker run --name my-transmission \
    --detach --restart unless-stopped \
    --publish 9091:9091 \
    --publish 51413:51413 \
    --volume /var/lib/transmission/config:/var/lib/transmission/config \
    --volume /var/lib/transmission/downloads:/var/lib/transmission/downloads \
    --volume /var/lib/transmission/incomplete:/var/lib/transmission/incomplete \
    --volume /var/lib/transmission/watch:/var/lib/transmission/watch \
    --env UID=$(id -u transmission) \
    --env GID=$(id -g transmission) \
    jmlemetayer/transmission
Docker Pull Command
Owner
jmlemetayer
Source Repository