RPi Deluge Docker

What is Deluge?

Deluge is a torrent client. One of the best things about it is its highly client-server oriented, allowing you to remote control a deluge server from your desktop deluge app or using the web interface (deluge-web).

Running

-d: runs detached, so the Docker instance just runs in the background.

-v /home/pi/deluge/config:/config: sets up your host's /home/pi/deluge/config directory to map to the /config directory in the container. Docker will make this folder if it doesn't exist on your host system. This can be moved to anywhere on your host system, but the Docker image needs /config to exist! This is where you will go if you want to manually change any deluge configuration.

-v /home/pi/deluge/data:/data: similar to above, maps your host's /home/pi/deluge/data directory to map to the /data directory in the container. This is required and is where your files will be stored to by default.

-p 58846:58846: setups a port forwarding rule for the deluged port on 58846.

-p 8112:8112: setups a port forwarding rule for the deluge-web port on 8112.