kfei / docktorrent

:zap: Full-featured BitTorrent box runs in Docker
378 stars 65 forks source link

Where is /rtorrent/downloads located? #40

Open decon89 opened 7 years ago

decon89 commented 7 years ago

Hallo,

I'm quite new to docker. I'm using a Synology DS1515+ Nas server to install your image. Everything works fine. However, I dont know where I can find the default download dir /rtorrent/downloads. Also, when I try to change the -v /datastore:/rtorrent to -v /datastore:/volume1/Download, it doesn't change in the webui settings menu (my default for Deluge, which I'm currently using - though not through docker, so I can't replicate the settings in RuTracker).

I could probably live with the default dir (if I could find it!), bur would rather be in control. My own dir for downloads is located outside the docker (if that makes sense).

Edit: OK so I found the default location set when installing the image. It's /volume1/@docker/volumes/c44d1427db92191c1560b63f03486d6b9edafe8f82c88c190f80a0f4447c8c14/_data/rutorrent/user-profiles/users/docktorrent/torrents which I only access as root. This won't work since it becomes too much of a hassle to manage the downloads etc. - already set up a perfect dir structure for my needs. Just need to change the download dir now.

nVitius commented 7 years ago

Your syntax for the volume-mount is backwards. It should be host/path:container/path. Check out the docs for mounting volumes: https://docs.docker.com/engine/tutorials/dockervolumes/#/mount-a-host-directory-as-a-data-volume