
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
For more information, please refer to https://github.com/dnomd343/ajiasu-docker.git.
After the following few steps, the ajiasu container will be working on your system. Before that, make sure docker and docker-compose are installed.
Choose a working directory, and create a file named ajiasu.conf below. It include username and password, the template is as follows:
iniuser [YOUR_USERNAME] pass [YOUR_PASSWORD] protocol lwip cache_dir /etc/ajiasu
Create login.yml in the working directory and write these contents:
yamlversion: '3' services: ajiasu: image: dnomd343/ajiasu command: [login] volumes: - ./:/etc/ajiasu/ - ./ajiasu.conf:/etc/ajiasu.conf
Execute the login command, if successful, there will be an output similar to the following:
bash$ docker-compose -f login.yml up Creating network "ajiasu_default" with the default driver Creating ajiasu_ajiasu_1 ... done Attaching to ajiasu_ajiasu_1 ajiasu_1 | ajiasu 4.1.1.0 (core:20210315-1730) ajiasu_1 | Load config file: /etc/ajiasu.conf ajiasu_1 | Command: login ajiasu_1 | Account: ··· ajiasu_1 | Logging in ... ajiasu_1 | Login done. ajiasu_1 | ===================================================== ajiasu_1 | Web Site: https://www.91ajs.com ajiasu_1 | Login Result: OK ajiasu_1 | Membership: 爱加速会员 ajiasu_1 | Expiration: ··· ajiasu_1 | ===================================================== ajiasu_ajiasu_1 exited with code 0 # This command is optional $ docker-compose -f login.yml down Removing ajiasu_ajiasu_1 ... done Removing network ajiasu_default
Create list.yml in the working directory and write these contents:
yamlversion: '3' services: ajiasu: image: dnomd343/ajiasu command: [list] volumes: - ./:/etc/ajiasu/ - ./ajiasu.conf:/etc/ajiasu.conf
Execute the list command, if successful, there will be an output similar to the following:
bash$ docker-compose -f list.yml up Creating network "ajiasu_default" with the default driver Creating ajiasu_ajiasu_1 ... done Attaching to ajiasu_ajiasu_1 ajiasu_1 | ajiasu 4.1.1.0 (core:20210315-1730) ajiasu_1 | Load config file: /etc/ajiasu.conf ajiasu_1 | Command: list ajiasu_1 | Account: ··· ajiasu_1 | id Status Name (Comment) ajiasu_1 | vvn-2076-264 ok 镇江 #1 ajiasu_1 | vvn-2081-23 ok 绍兴 #1 ajiasu_1 | vvn-2086-308 ok 南通 #1 ajiasu_1 | vvn-2106-527 ok 丽水 #1 ajiasu_1 | vvn-2111-684 ok 温州 #1 ajiasu_1 | vvn-2226-4013 ok 徐州 #2 ajiasu_1 | vvn-2431-4824 ok 厦门 #21 ajiasu_1 | vvn-2441-1877 ok 沈阳 #3 ··· ··· ··· ajiasu_1 | vvn-5318-6878 ok 昭通 #1 ajiasu_1 | vvn-5319-6881 ok 海南藏族自治州 #2 ajiasu_1 | vvn-5320-6880 ok 海南藏族自治州 #1 ajiasu_1 | ===================================================== ajiasu_1 | Web Site: https://www.91ajs.com ajiasu_1 | Login Result: OK ajiasu_1 | Membership: 爱加速会员 ajiasu_1 | Expiration: ··· ajiasu_1 | ===================================================== ajiasu_ajiasu_1 exited with code 0 # This command is optional $ docker-compose -f list.yml down Removing ajiasu_ajiasu_1 ... done Removing network ajiasu_default
Select a node and modify ajiasu.conf file, add the bottom line, the modified file is as follows:
iniuser [YOUR_USERNAME] pass [YOUR_PASSWORD] protocol lwip cache_dir /etc/ajiasu connect vvn-...
Create compose.yml in the working directory and write these contents:
ymlversion: '3' services: ajiasu: image: dnomd343/ajiasu container_name: ajiasu network_mode: host privileged: true restart: always command: [connect] volumes: - ./:/etc/ajiasu/ - ./ajiasu.conf:/etc/ajiasu.conf
Executing the following command will start the ajiasu service:
bash$ docker-compose up -d Creating ajiasu ... done
If nothing unexcepted, ajiasu is already working normally, you can check the IP to confirm:
bash# whether the IP location is the city you choose $ curl ip.343.re/info IP: ··· AS: ··· City: 重庆 Region: 重庆 Country: CN - China(中国) Timezone: Asia/Shanghai Location: 29.59,106.54 ISP: China Unicom Limited Scope: ··· Detail: 重庆市联通
If something goes wrong, you can check the logs:
bash$ docker-compose logs Attaching to ajiasu ···
While it is running, you can quickly list all nodes:
bash$ docker exec ajiasu ajiasu list ajiasu 4.1.1.0 (core:20210315-1730) Load config file: /etc/ajiasu.conf Command: list Account: ··· id Status Name (Comment) vvn-2076-264 ok 镇江 #1 vvn-2081-23 ok 绍兴 #1 vvn-2086-308 ok 南通 #1 vvn-2106-527 ok 丽水 #1 vvn-2111-684 ok 温州 #1 vvn-2226-4013 ok 徐州 #2 vvn-2431-4824 ok 厦门 #21 vvn-2441-1877 ok 沈阳 #3 ··· ··· ··· vvn-5318-6878 ok 昭通 #1 vvn-5319-6881 ok 海南藏族自治州 #2 vvn-5320-6880 ok 海南藏族自治州 #1 ===================================================== Web Site: https://www.91ajs.com Login Result: OK Membership: 爱加速会员 Expiration: ··· =====================================================
When you do not need the ajiasu service, execute the following command to close it:
bash$ docker-compose down Stopping ajiasu ... done Removing ajiasu ... done
You don't need to repeat the login and listing process at the next startup. If you need to switch nodes, just modify the last line of the ajiasu.conf file and execute the following command:
bash$ docker-compose up -d Creating ajiasu ... done # Switch node -> modify ajiasu.conf first $ docker-compose restart Restarting ajiasu ... done
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务