MLDonkey server (usable only with the Web UI)
2.0K
❤️ this image is possible only thanks to the wonderful work made by the LinuxServer.io community, please check them out!
Also this README is a total rip-off of one of them, due to obvious reasons.
MLDonkey is an open-source, multi-protocol, peer-to-peer file sharing application that runs as a back-end server application on many platforms.
It can be controlled through a user interface provided by one of many separate front-ends, including a Web interface, telnet interface and over a dozen native client programs.
This container provides the mldonkey-server package, which is the MLDonkey core with its own (barebones) Web interface.
Pulling registry.gitlab.com/ricmaco/docker-mldonkey-server:latest should retrieve the image for x86-64, but there are also other Dockerfiles provided.
The architectures supported are:
| Architecture | Available | Dockerfile |
|---|---|---|
| x86-64 | ✅ | Dockerfile |
| arm64 | ✅ | Dockerfile.aarch64 |
| armhf | ✅ | Dockerfile.armhf |
Access the webui at http://<your-ip>:4080.
Here are some example snippets to help you get started creating a container.
---
version: "2.1"
services:
mldonkey-server:
image: registry.gitlab.com/ricmaco/docker-mldonkey-server:latest
container_name: mldonkey-server
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /path/to/appdata/config:/config
ports:
- 4080:4080
restart: unless-stopped
docker run -d \
--name=mldonkey-server \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Etc/UTC \
-p 4080:4080 \
-v /path/to/appdata/config:/config \
--restart unless-stopped \
registry.gitlab.com/ricmaco/docker-mldonkey-server:latest
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 |
|---|---|
-p 4080 | web gui |
-e PUID=1000 | for UserID - see below for explanation |
-e PGID=1000 | for GroupID - see below for explanation |
-e TZ=Etc/UTC | specify a timezone to use, see this list. |
-v /config | Contains all relevant configuration files. |
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.
For all of our images we provide 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 subtracts from permissions based on it's value it does not add. Please read up here before asking for support.
When using volumes (-v flags) permissions issues can arise between the host OS and the container, we 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)
docker exec -it mldonkey-server /bin/bashdocker logs -f mldonkey-serverdocker inspect -f '{{ index .Config.Labels "build_version" }}' mldonkey-serverdocker inspect -f '{{ index .Config.Labels "build_version" }}' registry.gitlab.com/ricmaco/docker-mldonkey-server:latestThis image is static, versioned, and requires an image update and container recreation to update the app inside. I (and LinuxServer.io, who originally wrote this) do not recommend or support updating apps inside the container.
Below are the instructions for updating containers:
docker-compose pull
docker-compose pull mldonkey-serverdocker-compose up -d
docker-compose up -d mldonkey-serverdocker image prunedocker pull registry.gitlab.com/ricmaco/docker-mldonkey-server:latestdocker stop mldonkey-serverdocker rm mldonkey-server/config folder and settings will be preserved)docker image pruneIf you want to make local modifications to these images for development purposes or just to customize the logic:
git clone https://gitlab.com/ricmaco/docker-mldonkey-server.git
cd docker-mldonkey-server
docker build \
--no-cache \
--pull \
-t registry.gitlab.com/ricmaco/docker-mldonkey-server:latest .
The ARM variants can be built on x86_64 hardware using multiarch/qemu-user-static
docker run --rm --privileged multiarch/qemu-user-static:register --reset
Once registered you can define the dockerfile to use with -f Dockerfile.aarch64.
Content type
Image
Digest
sha256:fabafb5af…
Size
57.6 MB
Last updated
over 3 years ago
docker pull ricmaco/mldonkey-server