
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
This is a Docker image based on osixia/light-baseimage for running MLDonkey 3.1.6.
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. ***
MLDonkey is free software, released under the terms of the GNU General Public License.
docker create --name=mldonkey \ -v <path for config files>:/var/lib/mldonkey:rw \ -v <path for temporary files>:/mnt/mldonkey_tmp:rw \ -v <path for completed downloaded files>:/mnt/mldonkey_completed:rw \ -e PGID=<gid> -e PUID=<uid> \ -e TZ=<timezone> \ -p 4000:4000 \ -p 4001:4001 \ -p 4080:4080 \ -p 20562:20562 \ -p 20566:20566/udp \ -p 16965:16965 \ -p 16965:16965/udp \ -p 6209:6209 \ -p 6209:6209/udp \ -p 6881:6881 \ -p 6882:6882 \ -p 3617:3617/udp \ -p 4444:4444 \ -p 4444:4444/udp \ logicwar/mldonkey
-p 4000 - Telnet port-p 4001 - GUI port-p 4080 - HTTP port for the Web interface-p 20562 - eDonkey2000 port-p 20566/udp - eDonkey2000 port-p 16965 - Kad port (disabled by default)-p 16965/udp - Kad1 port (disabled by default)-p 6209 - Overnet port (disabled by default)-p 6209/udp - Overnet port (disabled by default)-p 6881 - BitTorrent Client port (disabled by default)-p 6882- BitTorrent Tracker port (disabled by default)-p 3617/udp - BitTorrent DHT port (disabled by default)-p 4444 - BitTorrent DHT port (disabled by default)-p 4444/udp - BitTorrent DHT port (disabled by default)-v /var/lib/mldonkey - where LMS stores config and log files-v /mnt/mldonkey_tmp - local path for your audios-v /mnt/mldonkey_completed - local path for your playlists-e PGID for GroupID - see below for explanation-e PUID for UserID - see below for explanation-e TZ for timezone information : Europe/London, Europe/Zurich, America/New_York, ... (List of TZ)For shell access while the container is running do docker exec -it mldonkey /bin/bash
For security reasons and to avoid permissions issues with data volumes (-v flags), you may want to create a specific "docker" user with proper right accesses on your persistant folders. To find your user uid and gid you can use the id <user> command as below:
$ id <dockeruser> uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)
and finally specify your "docker" user PUID and group PGID. In this exemple PUID=1001 and PGID=1001.
The intitial setup is made by browsing to [***] and begin configuring the MDDonkey Server.
The first thing to do is to set a password for the admin user. you can use the command in the input field: useradd admin <your_password>
By default only eDonkey is enabled. To enable the other networks go to Options->Net and set to true what you need.
| Network | Type | MLDonkey default | Default Container Setup | Configuration file |
|---|---|---|---|---|
| http_port | TCP | 4080 | 4080 | downloads.ini |
| telnet_port | TCP | 4000 | 4000 | downloads.ini |
| gui_port | TCP | 4001 | 4001 | downloads.ini |
| eDonkey2000 | TCP | random | 20562 | donkey.ini |
| eDonkey2000 | UDP | TCP port + 4 | 20566 | donkey.ini |
| Kad | TCP | random | *** | donkey.ini, Kademlia section |
| Kad1 | UDP | Same as TCP | *** | donkey.ini, Kademlia section |
| Overnet | TCP | random | 6209 | donkey.ini, Overnet section |
| Overnet | UDP | Same as TCP | 6209 | donkey.ini, Overnet section |
| BitTorrent Client | TCP | 6882 | 6882 | bittorrent.ini |
| BitTorrent Tracker | TCP | 6881 | 6881 | bittorrent.ini |
| BitTorrent DHT | UDP | random | 3617 | bittorrent.ini |
| DirectConnect | TCP | 4444 | 4444 | directconnect.ini |
| DirectConnect | UDP | Same as TCP | 4444 | directconnect.ini |
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。




来自真实用户的反馈,见证轩辕镜像的优质服务