Docker Image for the Awesome MLDonkey Service

I really like this excellent piece of software. I found some docker images for it for the arm64 architecture, but they seemed not to be very up to date, so I created my own. Here you can find my version of a dockerized MLDonkey service, built for many archs: armv7, arm64, x86 and x64. The arm versions are perfect for Raspberry Pi variants.
The latest version of the image is taken from this commit, which is the latest at the time of writing. It also includes a couple of patches that I sent to add a dark theme.
The image is built on top of debian:buster. For the moment, it is difficult to use something newer because of this known issue.
To run it, you only need a single command:
$ docker run -i -t -v "`pwd`/data:/var/lib/mldonkey" carlonluca/mldonkey
For more options read the readme in the repo.
Bye! ๐
Hello
I’ve just discover this awesome project and I would like to use it.
https://github.com/carlonluca/docker-mldonkey
My problem is that I’m new in dockers and I only know usage docker-compose.
I’ve tried to create my own docker-compose.yml (volume, ports, etc) with no success.
Is there any way to use your project with docker compose?
Could you help me with the docker-compose.yml? It could be help more people.
Thanks in advance
I have done it myself :0
Os course I will have to adjust ports (kad, etc) and volumes (I use a separate SD for the incoming and tmp) but at least starts ๐
๐
Hello,
yes, you can use it with docker compose. You can do whatever you need through docker compose like starting, stopping and updating the service. You can also use external devices, but you probably need to mount them before starting mldonkey.
Regards.
I’m using external devices sucessfully ๐
I could share my docker-compose.yml if you are interested in or maybe could help anyone else.
On the other hand. I’ve enabled KAD network and mapped the port bur I don’t see any KAD reference in the mldonkey web.
Also in the serach optiones only appears donkey, not KAD.
Should KAD works? Do you know how to configure KAD?
Thanks in advance
If you want to open a PR with an update to the readme with a docker compose example, contributions are welcome.
I’m sorry, I do not know how kademlia works.
Hi
I don’t kno what a PR is, sorry. I do it if yoy tell me what is it.
On the other hand, I thing that there is a problem with mldonkey and kademilia it selt.
Look at this pic, there is no kademilia plugin and there is no kademilia network search option.
https://freeimage.host/i/3e8q97j
https://freeimage.host/i/3e8n97s
Thanks in advance
If you do not know what a PR is, then nevermind.
Unfortunately I do not use Kademlia, I do not know how it works and I cannot say how it works in mldonkey, sorry.
However, in my configuration, Kademlia is reported as enabled. In statistics -> Kademlia I read: “Kademlia is enabled | Kademlia Connectivity: Got enough online peers”. So it may seem that it was properly built into the core.
If you want more info, you can probably ask to the mldonkey project: https://github.com/ygrek/mldonkey. Someone may know something about it. For instance: https://github.com/ygrek/mldonkey/issues/93.
If you have clear indications of something that is not properly working in docker-mldonkey but working in other builds of mldonkey, you can provide that info and I can have a look.
Hi again.
Thank you for your time and I’m sorry for “dirtying up” the post.
I have made the PR, I hope everything is fine because it is the first time I use Github.
Thank you very much for everything
Comments are always welcome.
Thanks for your reply. The problem was that it’s not allowed by AirVPN to redirect a forwarded port to a p2p client. I had to set up a forwarded port x=>x and then set the mld http port to x. In addition the allowed_ips had to be the WAN of the client web browser and not VPN exit ip. With those changes port x is open and I can now connect.
Is it possible to run mld using a vpn service? I’ve tried to set this up with an AirVPN container that I am using OK with Deluge. I forwarded a port to 4080 for the WebUI but am unable to connect even though ss reports that mld is listening on 0.0.0.0:4080. I’ve set allowed_ips to my VPN exit ip and to 0.0.0.0 but can’t connect. Both the AirVPN port open checker and a web based tool to check for open ports both report 4080 closed.
It should be possible but I’m sorry, not sure what the problem is. You could also check the logs though.