Deluge is a lightweight, Free Software, cross-platform BitTorrent client.
| Architecture | Tag |
|---|---|
| x86-64 | latest |
Here are some example snippets to help you get started creating a container.
Compatible with docker-compose v2 schemas.
---
version: "2.1"
services:
deluge:
image: edifus/deluge
container_name: deluge
network_mode: host
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
- UMASK_SET=022 #optional
- DELUGE_LOGLEVEL=error #optional
- DOCKER_MODS=edifus/mods:deluge-filebot #optional
volumes:
- /path/to/deluge/config:/config
- /path/to/your/downloads:/downloads
restart: unless-stopped
docker run -d \
--name=deluge \
--net=host \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/London \
-e UMASK_SET=022 `#optional` \
-e DELUGE_LOGLEVEL=error `#optional` \
-e DOCKER_MODS=edifus/mods:deluge-filebot `#optional` \
-v /path/to/deluge/config:/config \
-v /path/to/your/downloads:/downloads \
--restart unless-stopped \
edifus/deluge
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <external>:<internal> respectively. For example, -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 outside the container.
| Parameter | Function |
|---|---|
--net=host | Shares host networking with container, required. |
-e PUID=1000 | for UserID - see below for explanation |
-e PGID=1000 | for GroupID - see below for explanation |
-e TZ=Europe/London | Specify a timezone to use |
-e UMASK_SET=022 | for umask setting of deluge, default if left unset is 022 |
-e DELUGE_LOGLEVEL=error | set the loglevel output when running Deluge, default is info for deluged and warning for delgued-web |
-e DOCKER_MODS=user/repo:tag | enable optional mods |
-v /config | deluge configs |
-v /downloads | torrent download directory |
You can set any environment variable from a file by using a special prepend FILE__.
As an example:
-e FILE__PASSWORD=/run/secrets/mysecretpassword
Will set the environment variable PASSWORD based on the contents of the /run/secrets/mysecretpassword file.
This image provides the ability to override the default umask settings for services started within the containers using the optional -e UMASK=022 setting.
Keep in mind umask is not chmod, it masks permissions based on it's value. Please read up here for more information.
When using volumes (-v flags) permissions issues can arise between the host OS and the container, you avoid this issue by allowing you to specify the user PUID and group PGID.
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
In this instance PUID=1000 and PGID=1000, to find yours use id user as below:
$ id username
uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
http://SERVER-IP:8112 with a default user/password of admin/deluge.docker exec -it deluge /bin/bashdocker logs -f delugeBelow are the instructions for updating containers:
docker-compose pull
docker-compose pull delugedocker-compose up -d
docker-compose up -d delugedocker image prunedocker pull edifus/delugedocker stop delugedocker rm deluge/config folder and settings will be preserved)docker image prunedocker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower --run-once deluge
docker image prunegit clone https://github.com/edifus/docker-deluge.git
cd docker-deluge
docker build --no-cache --pull -t edifus/deluge:test .
Content type
Image
Digest
sha256:ad9c118ee…
Size
70.7 MB
Last updated
about 4 years ago
docker pull edifus/deluge