Steps:
- pull the docker image for Transmission
root@ubuntu:/# docker pull lscr.io/linuxserver/transmission:latest
latest: Pulling from linuxserver/transmission
aeeeee55c58f: Pull complete
8bc286c87514: Pull complete
328ee6526b1c: Pull complete
bebd4be09817: Pull complete
a0020d291cd4: Pull complete
f3812003ca6a: Pull complete
329aad8712ec: Pull complete
Digest: sha256:501cd0ae332c58f5ba695cbe88785a5863db71bb4764787a1447e482db6f39b8
Status: Downloaded newer image for lscr.io/linuxserver/transmission:latest
lscr.io/linuxserver/transmission:latest
root@ubuntu:/#
- Now run the docker container from the pulled Docker image
docker run -d --name=Transmission \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Asia/Kolkata \
-e USER=admin \
-e PASS=admin \
-p 9091:9091 \
-p 51413:51413/tcp \
-p 51413:51413/udp \
--restart unless-stopped \
lscr.io/linuxserver/transmission:latest
- Now check the container is up and running
root@ubuntu:/# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4b905ca9aabc lscr.io/linuxserver/transmission:latest "/init" 50 seconds ago Up 49 seconds 0.0.0.0:9091->9091/tcp, :::9091->9091/tcp, 0.0.0.0:51413->51413/tcp, :::51413->51413/tcp, 0.0.0.0:51413->51413/udp, :::51413->51413/udp Transmission
root@ubuntu:/#
- Now access the Transmission UI by http://ip-address/transmission/web
- The default user name and password are: admin
Volume:
If you want the download data to be stored in the local host volume, then map the host volume to the below container paths
- host path:/config
- host path:/downloads
- host path:/watch