mlDonkey 3.1.6 on Ubuntu 18.04 in 90MB image.
10K+
mlDonkey 3.1.6 on Ubuntu 18.04 in 90MB image (only eDonkey and Kademlia).
Every day it is more complicated to install mlDonkey due to its lack of maintenance and the difficulty to find everything we need in our operating system. One way to continue enjoying this magnificent p2p program is to run it inside a Docker container and on a platform on which it worked well. This keeps it isolated from the operating system installed on your computer, which will keep it running for years to come.
docker pull wibol/mldonkey-ubuntu
docker create --name mldonkey-ubuntu --restart=always \
-p 4080:4080 -p 4000:4000 -p 4001:4001 \
-p 20562:20562 -p 20566:20566/udp -p 16965:16965/udp \
-v "<$HOME/Downloads/mlDonkey>:/var/lib/mldonkey/incoming/files" \
wibol/mldonkey-ubuntu
We must remove "<>" and customize its content. mlDonkey stores data inside /var/lib/mldonkey/incoming/files container directory, so we mount it on local filesystem for easy access.
Open 20562/tcp, 20566/udp and 16965/udp ports in your router and OS.
docker start mldonkey-ubuntu
Then you can access mlDonkey like http://127.0.0.1:4080 :

Or using "mldonkey-gui" installed from your distribution repository or Ubuntu Historical Archive :

If you were unable to install the graphical interface due to missing packages in the repositories, there is still another way to install mldonkey-gui and its dependencies.
You can change the default password later from the telnet, web or GUI command lines:
useradd admin <NewPassw0rd->
We must remove "<>" and customize its content. Host incomming directory is owned by "mldonkey" container user (uid=101, gid=101), so we need to change permissions for full access:
sudo chmod -R 777 <~/Downloads/mlDonkey>
We must remove "<>" and customize its content.
-v "</var/lib/mldonkey>:/var/lib/mldonkey" \
-v "</tmp/mldonkey>:/var/lib/mldonkey/temp" \
-v "<$HOME/Video/mlDonkey>:/var/lib/mldonkey/shared" \
We must remove "<>" and customize its content. If these directories are not mounted on a different place, they will all reside on the system's root partition, which is where Docker stores data by default. Be sure you have enough free space on it.
When creating the container we received the error:
Error response from daemon: create </home/wibol/Downloads/mlDonkey>: "</home/wibol/Downloads/mlDonkey>" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.
To resolve it we must remove "<>" from the local mount point.
Content type
Image
Digest
Size
34.5 MB
Last updated
over 4 years ago
docker pull wibol/mldonkey-ubuntu