Page 1 of 1

Transmission daemon config in Docker

Posted: Wed May 20, 2020 8:14 pm
by somebody
Hello, guys! I'm trying to run transmission-daemon in docker container, but no success - I can't apply my config files.
What I mean is, I'm trying to copy settings.json into /etc/transmission-daemon/settings.json, but if run

Code: Select all

transmission-daemon --dump-settings
- I see that it's default (not from file)...
Could you help me with figuring out what's happening?

Dockerfile:

Code: Select all

FROM python:3.8
RUN apt-get update -y
RUN apt-get install transmission-daemon -y
COPY app/settings.json /etc/transmission-daemon/settings.json
COPY app/run.sh /run.sh

EXPOSE 9091 51413/tcp 51413/udp
CMD [ "bash", "run.sh"]

Re: Transmission daemon config in Docker

Posted: Thu May 21, 2020 4:30 pm
by mike.dld
Depending on the distribution and build configuration, default path to settings.json may vary. You don't need to place the file at a specific location and wonder why it doesn't work; instead, when running the daemon pass it the -g/--config-dir option to set the directory containing the file explicitly.

Re: Transmission daemon config in Docker

Posted: Thu Jan 28, 2021 3:47 pm
by loris.foe
Dear, did you finally managed to install Transmission on Docker?