
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
https://github.com/boramalper/magnetico
This Docker runs a basic magnetico environment; magneticow, the webserver and magneticod, the DHT crawler / DHT indexer.
The container is available from the Docker registry and this is the simplest way to get it.
To run the container use this command:
$ docker run -d \ -v /your/database/path/:/root/.local/share/magneticod \ -e "USERNAME=magnetico" \ -e "PASSWORD=magnetico" \ -e "PUID=99" \ -e "PGID=100" \ -p 8556:8080/tcp \ dyonr/magnetico-environment
| Variable | Required | Description | Example | Default |
|---|---|---|---|---|
| magneticow | ||||
MAGNETICOW_USERNAME | No* | Username used to access the magneticow web interface | MAGNETICOW_USERNAME=magnetico | |
MAGNETICOW_PASSWORD | No* | Password used to access the magneticow web interface | MAGNETICOW_USERNAME=magnetico | |
MAGNETICOW_ADDRESS | No | Host address of magneticow | MAGNETICOW_ADDRESS=0.0.0.0 | 0.0.0.0 |
MAGNETICOW_VERBOSE | No | If set to 1, true or yes, magneticow will run verbose | MAGNETICOW_VERBOSE=yes | |
| magneticod | ||||
MAGNETICOD_ADDRESS | No | IP-address used by magneticod for indexing on the DHT network | MAGNETICOD_ADDRESS=0.0.0.0 | 0.0.0.0 |
MAGNETICOD_PORT | No | Port used by magneticod for indexing on the DHT network | MAGNETICOD_PORT=54231 | 0 |
MAGNETICOD_INTERVAL | No | The indexing interval in seconds | MAGNETICOD_INTERVAL=30 | 1 |
MAGNETICOD_NEIGHBORS | No | The maximum numbers of neighbors of an indexer | MAGNETICOD_NEIGHBORS=500 | 1000 |
MAGNETICOD_LEECHES | No | The maximum numbers of leeches | MAGNETICOD_LEECHES=25 | 50 |
MAGNETICOD_VERBOSE | No | If set to 1, true or yes, magneticod will run verbose | MAGNETICOD_VERBOSE=yes | |
PUID | Yes | The PUID that will be set on the magneticod database folder | PUID=1000 | 99 |
PGID | Yes | The PGID that will be set on the magneticod database folder | PGID=100 | 100 |
* Username and password are not required if both aren't defined. It's either both empty, or both filled in.
| Volume | Required | Description | Example |
|---|---|---|---|
config | Yes | The path where magneticod will store its database | /your/database/path/:/root/.local/share/magneticod |
| Port | Proto | Required | Description | Example |
|---|---|---|---|---|
8080 | TCP | Yes | The port that you will access magneticow webinterface on | 8556:8080 |
Access [] from a browser on the same network (for example: []
If you are having issues with this container please submit an issue on GitHub.
Please provide logs, Docker version and other information that can simplify reproducing the issue.
Using the latest stable verison of Docker is always recommended. Support for older version is on a best-effort basis.
If the issue is related to magneticow or magneticod, https://github.com/boramalper/magnetico.
magnetico currently does NOT have any filtering system NOR it allows individual torrents to be removed from the database, and BitTorrent DHT network is full of the materials that are ***ed illegal in many countries (violence, pornography, copyright infringing content, and even child-pornography). If you are afraid of the legal consequences, or simply morally against (indirectly) assisting those content to spread around, follow the magneticow installation instructions carefully to password-protect the web-interface from others.
magneticow uses HTTP Basic Authentication, meaning that your username and password will be transmitted in plain-text for every request. Configuring magneticow to serve behind a web-server with HTTPS enabled is strongly recommended, but unfortunately not described here. You can use Let's Encrypt to get a certificate for free.
magneticow is NOT designed to scale, and will fail miserably if you try to use it like a public torrent website. This is a deliberate technical decision, not a bug or something to be fixed; another web interface with more features to support such use cases and scalability might be developed, but magneticow will NEVER be the case.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务